Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001539, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001646/0.001646, allocations: 195.1 kB / 16.25 MB, free: 6.621 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.707/1.707, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.3687/0.3687, allocations: 39.93 MB / 309.4 MB, free: 9.395 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.001434/0.001434, allocations: 75.89 kB / 377.1 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1396, allocations: 56.87 MB / 434 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003821/0.1434, allocations: 1.891 MB / 435.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.1453, allocations: 0.8857 MB / 436.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.1454, allocations: 0 / 436.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006549/0.1462, allocations: 155.6 kB / 436.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00048/0.1467, allocations: 123.7 kB / 437 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005654/0.1473, allocations: 139.7 kB / 437.2 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004041/0.1477, allocations: 219.4 kB / 437.4 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.1479, allocations: 17.53 kB / 437.4 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.1481, allocations: 107.6 kB / 437.5 MB, free: 480 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.1483, allocations: 123.6 kB / 437.6 MB, free: 356 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.1483, allocations: 8 kB / 437.6 MB, free: 348 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.1485, allocations: 55.91 kB / 437.7 MB, free: 292 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1486, allocations: 43.84 kB / 437.7 MB, free: 248 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.1487, allocations: 75.47 kB / 437.8 MB, free: 172 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.1491, allocations: 195.6 kB / 438 MB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.1491, allocations: 0 / 438 MB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1491, allocations: 0 / 438 MB, free: 15.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1492, allocations: 0 / 438 MB, free: 15.98 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008292/0.15, allocations: 0.5215 MB / 438.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.15, allocations: 15.89 kB / 438.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.1501, allocations: 24.66 kB / 438.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.1504, allocations: 259.6 kB / 438.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1505, allocations: 4.375 kB / 438.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.1505, allocations: 12.11 kB / 438.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.1507, allocations: 99.3 kB / 438.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1508, allocations: 4 kB / 438.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.1508, allocations: 4 kB / 438.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1508, allocations: 0 / 438.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.1509, allocations: 43.95 kB / 439 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.1516, allocations: 444.8 kB / 439.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.1518, allocations: 121.2 kB / 439.5 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.827e-05/0.1519, allocations: 41.69 kB / 439.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.152, allocations: 4 kB / 439.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.1522, allocations: 113 kB / 439.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.1522, allocations: 0 / 439.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009155/0.1531, allocations: 356.1 kB / 440 MB, free: 13.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.754e-05/0.1532, allocations: 85.05 kB / 440.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.1536, allocations: 354.9 kB / 440.5 MB, free: 13.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1537, allocations: 29.7 kB / 440.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.1538, allocations: 140.4 kB / 440.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.1538, allocations: 47.36 kB / 440.7 MB, free: 13.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.1539, allocations: 37.7 kB / 440.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.1541, allocations: 338.8 kB / 441.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.1542, allocations: 43.92 kB / 441.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.1543, allocations: 74.67 kB / 441.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.1545, allocations: 115.4 kB / 441.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1545, allocations: 0 / 441.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003162/0.1549, allocations: 177.3 kB / 441.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1549, allocations: 8.062 kB / 441.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1549, allocations: 0.75 kB / 441.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.1549, allocations: 4 kB / 441.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1551, allocations: 35.91 kB / 441.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1551, allocations: 7.938 kB / 441.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.484e-05/0.1552, allocations: 8 kB / 441.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1552, allocations: 4.312 kB / 441.5 MB, free: 12.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001591/0.1554, allocations: 161.8 kB / 441.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.1554, allocations: 27.72 kB / 441.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.561e-05/0.1555, allocations: 33.72 kB / 441.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1555, allocations: 7.938 kB / 441.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.1555, allocations: 3.938 kB / 441.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1556, allocations: 0 / 441.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007982/0.1564, allocations: 0.6124 MB / 442.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1564, allocations: 8 kB / 442.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.1564, allocations: 23.92 kB / 442.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1564, allocations: 0 / 442.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.1565, allocations: 8 kB / 442.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1565, allocations: 0 / 442.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1565, allocations: 4 kB / 442.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.157, allocations: 364.1 kB / 442.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.62e-05/0.1571, allocations: 100.8 kB / 442.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.1571, allocations: 8 kB / 442.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.1573, allocations: 4 kB / 442.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.1573, allocations: 15.92 kB / 442.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.1574, allocations: 11.98 kB / 442.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002522/0.1576, allocations: 257.9 kB / 443.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1576, allocations: 4 kB / 443.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.158, allocations: 43.98 kB / 443.2 MB, free: 10.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001118/0.1591, allocations: 476.7 kB / 443.7 MB, free: 9.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000316/0.1594, allocations: 115.9 kB / 443.8 MB, free: 9.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1594, allocations: 4 kB / 443.8 MB, free: 9.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.1596, allocations: 63.89 kB / 443.8 MB, free: 9.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/0.1601, allocations: 69.2 kB / 443.9 MB, free: 9.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009221/0.1611, allocations: 494.4 kB / 444.4 MB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.1616, allocations: 0.7515 MB / 445.1 MB, free: 8.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.1617, allocations: 37.92 kB / 445.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.1618, allocations: 23.42 kB / 445.2 MB, free: 8.344 MB / 382.1 MB Notification: Performance of SimCode: time 1.402e-06/0.1618, allocations: 0 / 445.2 MB, free: 8.344 MB / 382.1 MB Notification: Performance of Templates: time 0.006397/0.1682, allocations: 2.64 MB / 447.8 MB, free: 5.707 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1)