Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 188.7 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4211/0.4211, allocations: 39.94 MB / 309.3 MB, free: 9.379 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001342, allocations: 75.89 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1439, allocations: 56.88 MB / 433.8 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003171/0.1471, allocations: 1.709 MB / 435.5 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1485, allocations: 0.7806 MB / 436.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.1486, allocations: 3.938 kB / 436.3 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003753/0.149, allocations: 43.86 kB / 436.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.1492, allocations: 55.83 kB / 436.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.1494, allocations: 75.77 kB / 436.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1496, allocations: 91.7 kB / 436.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.573e-05/0.1497, allocations: 11.98 kB / 436.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.873e-05/0.1497, allocations: 47.77 kB / 436.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.336e-05/0.1498, allocations: 27.8 kB / 436.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1499, allocations: 4 kB / 436.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.15, allocations: 27.98 kB / 436.7 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.111e-05/0.1501, allocations: 27.91 kB / 436.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.847e-05/0.1501, allocations: 35.69 kB / 436.7 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.1503, allocations: 111.9 kB / 436.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1503, allocations: 3.938 kB / 436.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1503, allocations: 0 / 436.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1504, allocations: 0 / 436.9 MB, free: 1.066 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006304/0.151, allocations: 434.7 kB / 437.3 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.151, allocations: 12.03 kB / 437.3 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.1511, allocations: 12.84 kB / 437.3 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.1514, allocations: 219.7 kB / 437.5 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1514, allocations: 8.359 kB / 437.5 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.1514, allocations: 4.125 kB / 437.5 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1516, allocations: 49.67 kB / 437.6 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1516, allocations: 0 / 437.6 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1516, allocations: 0 / 437.6 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1516, allocations: 3.938 kB / 437.6 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.856e-05/0.1517, allocations: 15.98 kB / 437.6 MB, free: 236 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.1519, allocations: 193.7 kB / 437.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.1522, allocations: 50.62 kB / 437.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.1523, allocations: 28.72 kB / 437.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1523, allocations: 0 / 437.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.1525, allocations: 71.33 kB / 437.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1525, allocations: 0 / 437.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003067/0.1528, allocations: 97.48 kB / 438 MB, free: 15.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.1529, allocations: 51.41 kB / 438.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.1532, allocations: 255.7 kB / 438.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1532, allocations: 25.7 kB / 438.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.1533, allocations: 112.1 kB / 438.5 MB, free: 15.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.1534, allocations: 15.81 kB / 438.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.1534, allocations: 25.7 kB / 438.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1536, allocations: 326.8 kB / 438.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.87e-05/0.1536, allocations: 12 kB / 438.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.764e-05/0.1537, allocations: 37.64 kB / 438.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.344e-05/0.1538, allocations: 45.95 kB / 438.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1538, allocations: 0 / 438.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000176/0.154, allocations: 93.38 kB / 439 MB, free: 14.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.154, allocations: 4 kB / 439 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.154, allocations: 0 / 439 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1541, allocations: 0 / 439 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.1e-05/0.1541, allocations: 15.98 kB / 439 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1542, allocations: 0 / 439 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.1542, allocations: 7.938 kB / 439 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1542, allocations: 0 / 439 MB, free: 14.64 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.1543, allocations: 145.6 kB / 439.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.1544, allocations: 11.81 kB / 439.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.1544, allocations: 20.98 kB / 439.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1544, allocations: 3.938 kB / 439.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1544, allocations: 0 / 439.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1545, allocations: 4 kB / 439.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.1546, allocations: 197.6 kB / 439.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1546, allocations: 0 / 439.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.093e-05/0.1547, allocations: 4 kB / 439.4 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1547, allocations: 0 / 439.4 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1547, allocations: 0 / 439.4 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1547, allocations: 4 kB / 439.4 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1547, allocations: 0 / 439.4 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.1549, allocations: 112.9 kB / 439.5 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.155, allocations: 89.02 kB / 439.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.155, allocations: 7.969 kB / 439.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.404e-05/0.1551, allocations: 0 / 439.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1551, allocations: 4.125 kB / 439.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.1551, allocations: 11.94 kB / 439.6 MB, free: 13.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.1553, allocations: 211 kB / 439.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1553, allocations: 0 / 439.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.1555, allocations: 16 kB / 439.9 MB, free: 13.72 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009412/0.1565, allocations: 406.5 kB / 440.3 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.1567, allocations: 31.98 kB / 440.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1567, allocations: 4 kB / 440.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.018e-05/0.1568, allocations: 23.98 kB / 440.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.1571, allocations: 39.8 kB / 440.4 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.1577, allocations: 288.2 kB / 440.6 MB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.1581, allocations: 0.7121 MB / 441.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.358e-05/0.1582, allocations: 16.67 kB / 441.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.1582, allocations: 19.42 kB / 441.4 MB, free: 12.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1582, allocations: 0 / 441.4 MB, free: 12.16 MB / 382.1 MB Notification: Performance of Templates: time 0.004352/0.1626, allocations: 1.454 MB / 442.8 MB, free: 10.71 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1)