Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, 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.002803/0.002803, allocations: 194.5 kB / 16.14 MB, free: 6.656 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.502/1.502, allocations: 205.1 MB / 222 MB, free: 4.938 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.3822/0.3822, allocations: 37.98 MB / 307.3 MB, free: 9.84 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.001455/0.001455, allocations: 67.91 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1536, allocations: 56.48 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003561/0.1572, allocations: 1.689 MB / 432.7 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1587, allocations: 0.7844 MB / 433.5 MB, free: 4.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.084e-05/0.1588, allocations: 4 kB / 433.5 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.1592, allocations: 55.84 kB / 433.6 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.1594, allocations: 63.7 kB / 433.6 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.1596, allocations: 71.89 kB / 433.7 MB, free: 4.379 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.1598, allocations: 91.7 kB / 433.8 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.705e-05/0.1599, allocations: 19.92 kB / 433.8 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.863e-05/0.16, allocations: 39.83 kB / 433.8 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1601, allocations: 35.84 kB / 433.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1601, allocations: 4 kB / 433.9 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.602e-05/0.1602, allocations: 31.97 kB / 433.9 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.1603, allocations: 15.92 kB / 433.9 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.04e-05/0.1603, allocations: 35.69 kB / 434 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.1605, allocations: 91.98 kB / 434 MB, free: 4.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.1605, allocations: 0 / 434 MB, free: 4.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1606, allocations: 3.938 kB / 434.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1606, allocations: 4 kB / 434.1 MB, free: 4.012 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.0006998/0.1613, allocations: 403.1 kB / 434.4 MB, free: 3.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1613, allocations: 8.031 kB / 434.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.1614, allocations: 8.844 kB / 434.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.1617, allocations: 204.1 kB / 434.7 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1617, allocations: 384 / 434.7 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.1617, allocations: 12.12 kB / 434.7 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1619, allocations: 49.61 kB / 434.7 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1619, allocations: 4 kB / 434.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1619, allocations: 0 / 434.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1619, allocations: 0 / 434.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.758e-05/0.162, allocations: 12 kB / 434.7 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.1623, allocations: 185.6 kB / 434.9 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1625, allocations: 50.61 kB / 435 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.297e-05/0.1626, allocations: 32.77 kB / 435 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.1626, allocations: 3.938 kB / 435 MB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.1629, allocations: 63.39 kB / 435.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.1629, allocations: 0 / 435.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003472/0.1632, allocations: 93.58 kB / 435.2 MB, free: 2.734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1633, allocations: 51.41 kB / 435.2 MB, free: 2.672 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.1635, allocations: 186.2 kB / 435.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1635, allocations: 33.64 kB / 435.4 MB, free: 2.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.1636, allocations: 104.1 kB / 435.5 MB, free: 2.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.1636, allocations: 15.8 kB / 435.5 MB, free: 2.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.1637, allocations: 17.72 kB / 435.6 MB, free: 2.297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1639, allocations: 322.8 kB / 435.9 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.111e-05/0.1639, allocations: 12.25 kB / 435.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.558e-05/0.164, allocations: 33.7 kB / 435.9 MB, free: 1.922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.308e-05/0.1641, allocations: 45.7 kB / 436 MB, free: 1.871 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1641, allocations: 3.938 kB / 436 MB, free: 1.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001555/0.1642, allocations: 85.47 kB / 436.1 MB, free: 1.777 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1643, allocations: 4 kB / 436.1 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1643, allocations: 0 / 436.1 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1643, allocations: 0 / 436.1 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.1644, allocations: 15.98 kB / 436.1 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1644, allocations: 4.031 kB / 436.1 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.1644, allocations: 0 / 436.1 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.1645, allocations: 8 kB / 436.1 MB, free: 1.746 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 (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.0001566/0.1646, allocations: 129.7 kB / 436.2 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.1647, allocations: 7.906 kB / 436.2 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.1647, allocations: 12.31 kB / 436.2 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1647, allocations: 4 kB / 436.2 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1647, allocations: 0 / 436.2 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1647, allocations: 3.984 kB / 436.2 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.1649, allocations: 189.4 kB / 436.4 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1649, allocations: 4 kB / 436.4 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.965e-05/0.1649, allocations: 4 kB / 436.4 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1649, allocations: 4 kB / 436.4 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.165, allocations: 0 / 436.4 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.165, allocations: 0 / 436.4 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.165, allocations: 0 / 436.4 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.1652, allocations: 113 kB / 436.5 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.1652, allocations: 89.02 kB / 436.6 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.1653, allocations: 7.984 kB / 436.6 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-05/0.1653, allocations: 4 kB / 436.6 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.1654, allocations: 0 / 436.6 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.1654, allocations: 4 kB / 436.6 MB, free: 1.086 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.1655, allocations: 148 kB / 436.8 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1655, allocations: 0 / 436.8 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000217/0.1657, allocations: 20 kB / 436.8 MB, free: 0.9219 MB / 366.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.0009863/0.1667, allocations: 414 kB / 437.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.1669, allocations: 47.97 kB / 437.3 MB, free: 500 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1669, allocations: 3.938 kB / 437.3 MB, free: 496 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.882e-05/0.167, allocations: 16 kB / 437.3 MB, free: 480 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.1673, allocations: 27.91 kB / 437.3 MB, free: 452 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.1677, allocations: 215.8 kB / 437.5 MB, free: 208 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1681, allocations: 0.6965 MB / 438.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.818e-05/0.1682, allocations: 24.38 kB / 438.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.1682, allocations: 11.44 kB / 438.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1682, allocations: 4 kB / 438.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of Templates: time 0.004533/0.1728, allocations: 1.432 MB / 439.7 MB, free: 14.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1)