Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.001111, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001262/0.001261, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.3646/0.3646, allocations: 38.03 MB / 308.4 MB, free: 10.26 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.0005933/0.0005938, allocations: 20 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1583, allocations: 57.51 MB / 433.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002225/0.1606, allocations: 1.366 MB / 435.3 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1619, allocations: 0.7381 MB / 436 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.162, allocations: 0 / 436 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.1623, allocations: 31.84 kB / 436.1 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.1625, allocations: 43.88 kB / 436.1 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.1628, allocations: 75.72 kB / 436.2 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.1629, allocations: 55.88 kB / 436.2 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.163, allocations: 16.2 kB / 436.2 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.759e-05/0.1632, allocations: 35.84 kB / 436.3 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.19e-05/0.1632, allocations: 31.84 kB / 436.3 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.1633, allocations: 0 / 436.3 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.5e-05/0.1634, allocations: 31.92 kB / 436.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.1634, allocations: 11.94 kB / 436.4 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.1635, allocations: 41.62 kB / 436.4 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1637, allocations: 80.09 kB / 436.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1637, allocations: 0 / 436.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1637, allocations: 0 / 436.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.1637, allocations: 4 kB / 436.5 MB, free: 3.016 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.0006456/0.1644, allocations: 395 kB / 436.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.1644, allocations: 8.031 kB / 436.9 MB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.472e-05/0.1645, allocations: 11.86 kB / 436.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.1648, allocations: 195.5 kB / 437.1 MB, free: 2.332 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.1649, allocations: 0 / 437.1 MB, free: 2.332 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.1649, allocations: 11.98 kB / 437.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1651, allocations: 57.61 kB / 437.1 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1651, allocations: 0 / 437.1 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1651, allocations: 4 kB / 437.1 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1652, allocations: 0 / 437.1 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.716e-05/0.1652, allocations: 23.94 kB / 437.2 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.1657, allocations: 288.8 kB / 437.5 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.1659, allocations: 54.69 kB / 437.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.1659, allocations: 4 kB / 437.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.1662, allocations: 63.52 kB / 437.6 MB, free: 1.758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.644e-06/0.1662, allocations: 0 / 437.6 MB, free: 1.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006452/0.1668, allocations: 177.2 kB / 437.7 MB, free: 1.578 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.1669, allocations: 51.41 kB / 437.8 MB, free: 1.516 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.1671, allocations: 159 kB / 437.9 MB, free: 1.348 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.1671, allocations: 29.7 kB / 438 MB, free: 1.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.696e-05/0.1672, allocations: 104.1 kB / 438.1 MB, free: 1.207 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.1672, allocations: 23.66 kB / 438.1 MB, free: 1.184 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.1672, allocations: 0 / 438.1 MB, free: 1.184 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1674, allocations: 330.8 kB / 438.4 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.346e-05/0.1675, allocations: 15.98 kB / 438.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.688e-05/0.1675, allocations: 37.7 kB / 438.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.765e-05/0.1676, allocations: 28 kB / 438.5 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1676, allocations: 0 / 438.5 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002317/0.1679, allocations: 101.5 kB / 438.6 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1679, allocations: 4 kB / 438.6 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1679, allocations: 3.953 kB / 438.6 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.1679, allocations: 4 kB / 438.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.168, allocations: 12 kB / 438.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1681, allocations: 0 / 438.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.1681, allocations: 16.02 kB / 438.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1681, allocations: 0 / 438.6 MB, free: 0.6211 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.1683, allocations: 122.8 kB / 438.8 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.1683, allocations: 7.906 kB / 438.8 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.1684, allocations: 16.7 kB / 438.8 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.1684, allocations: 7.953 kB / 438.8 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1685, allocations: 0 / 438.8 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.1685, allocations: 0 / 438.8 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.169, allocations: 399.2 kB / 439.2 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.169, allocations: 0 / 439.2 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.524e-05/0.169, allocations: 11.95 kB / 439.2 MB, free: 0 / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.169, allocations: 0 / 439.2 MB, free: 0 / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.1691, allocations: 48 / 439.2 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1691, allocations: 7.938 kB / 439.2 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1691, allocations: 0 / 439.2 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.1694, allocations: 217.9 kB / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.1695, allocations: 85.02 kB / 439.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.1695, allocations: 4.375 kB / 439.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.1696, allocations: 7.984 kB / 439.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.1696, allocations: 3.984 kB / 439.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.1697, allocations: 8 kB / 439.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1698, allocations: 128.5 kB / 439.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1698, allocations: 4 kB / 439.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.1701, allocations: 23.98 kB / 439.7 MB, free: 15.48 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001144/0.1712, allocations: 465.2 kB / 440.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1714, allocations: 63.91 kB / 440.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1714, allocations: 0 / 440.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.068e-05/0.1715, allocations: 24 kB / 440.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.1718, allocations: 35.78 kB / 440.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.1723, allocations: 222.1 kB / 440.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.1727, allocations: 0.7004 MB / 441.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.85e-05/0.1728, allocations: 12.88 kB / 441.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.1728, allocations: 19.44 kB / 441.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1728, allocations: 0 / 441.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of Templates: time 0.005206/0.178, allocations: 1.58 MB / 442.8 MB, free: 12.33 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) Environment - environmentSimulation: