Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001249/0.001249, allocations: 191.2 kB / 16.25 MB, free: 6.633 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.734/1.734, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4199/0.4199, allocations: 37.98 MB / 307.4 MB, free: 10.03 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.1. 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.001565/0.001565, allocations: 68.12 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1505, allocations: 56.47 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.005914/0.1565, allocations: 1.736 MB / 432.9 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.1588, allocations: 0.7999 MB / 433.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.1589, allocations: 0 / 433.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004403/0.1595, allocations: 39.89 kB / 433.8 MB, free: 4.367 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.1598, allocations: 55.77 kB / 433.8 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.1603, allocations: 67.86 kB / 433.9 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.1606, allocations: 95.69 kB / 434 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1607, allocations: 12.22 kB / 434 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1608, allocations: 43.78 kB / 434.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.74e-05/0.1609, allocations: 31.84 kB / 434.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.1609, allocations: 8 kB / 434.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.1611, allocations: 39.98 kB / 434.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/0.1611, allocations: 19.92 kB / 434.1 MB, free: 4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.35e-05/0.1612, allocations: 35.73 kB / 434.2 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.1614, allocations: 111.9 kB / 434.3 MB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1615, allocations: 0 / 434.3 MB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1615, allocations: 0 / 434.3 MB, free: 3.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1615, allocations: 7.938 kB / 434.3 MB, free: 3.848 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006026/0.1621, allocations: 407 kB / 434.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1621, allocations: 15.89 kB / 434.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.1622, allocations: 12.75 kB / 434.7 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.1624, allocations: 208.1 kB / 434.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1625, allocations: 384 / 434.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.1625, allocations: 8.125 kB / 434.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1627, allocations: 57.61 kB / 435 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1627, allocations: 4 kB / 435 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1627, allocations: 0 / 435 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1627, allocations: 0 / 435 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.199e-05/0.1628, allocations: 23.92 kB / 435 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.1633, allocations: 284.9 kB / 435.3 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1635, allocations: 62.61 kB / 435.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.1635, allocations: 16.86 kB / 435.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1636, allocations: 7.984 kB / 435.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.1638, allocations: 67.39 kB / 435.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1638, allocations: 0 / 435.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006018/0.1644, allocations: 177.2 kB / 435.6 MB, free: 2.352 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.1645, allocations: 55.39 kB / 435.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.1646, allocations: 178.2 kB / 435.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.1647, allocations: 33.64 kB / 435.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.1648, allocations: 108.1 kB / 436 MB, free: 1.953 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.1648, allocations: 23.7 kB / 436 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.1649, allocations: 21.72 kB / 436 MB, free: 1.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.165, allocations: 330.8 kB / 436.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.764e-05/0.1651, allocations: 19.98 kB / 436.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.257e-05/0.1651, allocations: 37.64 kB / 436.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1652, allocations: 57.72 kB / 436.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1653, allocations: 0 / 436.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001954/0.1655, allocations: 109.4 kB / 436.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1655, allocations: 4 kB / 436.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1655, allocations: 0 / 436.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.1655, allocations: 4 kB / 436.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.1656, allocations: 12 kB / 436.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1656, allocations: 3.984 kB / 436.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.1657, allocations: 11.94 kB / 436.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1657, allocations: 4.031 kB / 436.6 MB, free: 1.293 MB / 366.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 (10): * Single equations (assignments): 10 * 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.0001206/0.1658, allocations: 125.8 kB / 436.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.1658, allocations: 15.89 kB / 436.8 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.1659, allocations: 16.7 kB / 436.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1659, allocations: 0 / 436.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1659, allocations: 4 kB / 436.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1659, allocations: 3.938 kB / 436.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005177/0.1665, allocations: 383.7 kB / 437.2 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1665, allocations: 0 / 437.2 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.1665, allocations: 15.98 kB / 437.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1665, allocations: 4.188 kB / 437.2 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1665, allocations: 7.938 kB / 437.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1665, allocations: 3.938 kB / 437.2 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1666, allocations: 0 / 437.2 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.1668, allocations: 208.2 kB / 437.4 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.1669, allocations: 89.02 kB / 437.5 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.1669, allocations: 11.92 kB / 437.5 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.576e-05/0.167, allocations: 0 / 437.5 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.167, allocations: 4 kB / 437.5 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.167, allocations: 7.984 kB / 437.5 MB, free: 312 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.1672, allocations: 148 kB / 437.6 MB, free: 164 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1672, allocations: 0 / 437.6 MB, free: 164 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1675, allocations: 23.98 kB / 437.7 MB, free: 140 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001065/0.1686, allocations: 469.4 kB / 438.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.1688, allocations: 63.92 kB / 438.2 MB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1688, allocations: 4.062 kB / 438.2 MB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.673e-05/0.1689, allocations: 31.92 kB / 438.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1692, allocations: 35.77 kB / 438.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006223/0.1699, allocations: 243.2 kB / 438.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.1704, allocations: 0.7041 MB / 439.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.885e-05/0.1705, allocations: 12.88 kB / 439.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.1705, allocations: 15.44 kB / 439.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1705, allocations: 0 / 439.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of Templates: time 0.00499/0.1755, allocations: 1.671 MB / 440.9 MB, free: 12.87 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1)