Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009735/0.0009735, 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.001049/0.001049, allocations: 197.1 kB / 16.26 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.717/1.717, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.3851/0.3851, allocations: 37.98 MB / 307.4 MB, free: 10.04 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.001448/0.001447, allocations: 78.62 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1605, allocations: 56.46 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003851/0.1644, allocations: 1.724 MB / 432.9 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.166, allocations: 0.8038 MB / 433.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1661, allocations: 0 / 433.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.1666, allocations: 83.77 kB / 433.8 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.1669, allocations: 67.78 kB / 433.9 MB, free: 4.266 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.1672, allocations: 83.84 kB / 434 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.1674, allocations: 107.7 kB / 434.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1676, allocations: 12.22 kB / 434.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1677, allocations: 51.77 kB / 434.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.1678, allocations: 63.75 kB / 434.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.1679, allocations: 4 kB / 434.2 MB, free: 3.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.168, allocations: 39.98 kB / 434.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.284e-05/0.1681, allocations: 19.92 kB / 434.3 MB, free: 3.891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.017e-05/0.1681, allocations: 39.75 kB / 434.3 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.1684, allocations: 115.9 kB / 434.4 MB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1684, allocations: 0 / 434.4 MB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1684, allocations: 0 / 434.4 MB, free: 3.738 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.1684, allocations: 0 / 434.4 MB, free: 3.738 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.0006981/0.1691, allocations: 426.8 kB / 434.8 MB, free: 3.273 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1692, allocations: 11.89 kB / 434.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.1692, allocations: 16.83 kB / 434.9 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.1695, allocations: 208.8 kB / 435.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1695, allocations: 4.375 kB / 435.1 MB, free: 3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.1696, allocations: 16.06 kB / 435.1 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.1697, allocations: 49.67 kB / 435.1 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1698, allocations: 3.984 kB / 435.1 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1698, allocations: 4 kB / 435.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1698, allocations: 0 / 435.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.564e-05/0.1699, allocations: 23.92 kB / 435.2 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.1703, allocations: 288.9 kB / 435.4 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1705, allocations: 50.69 kB / 435.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.1706, allocations: 24.84 kB / 435.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1706, allocations: 0 / 435.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.1708, allocations: 67.33 kB / 435.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1708, allocations: 4 kB / 435.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006124/0.1714, allocations: 185 kB / 435.8 MB, free: 2.211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1715, allocations: 51.41 kB / 435.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.1717, allocations: 214.3 kB / 436 MB, free: 1.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1717, allocations: 29.7 kB / 436.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.1718, allocations: 104.1 kB / 436.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.1718, allocations: 23.64 kB / 436.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.1719, allocations: 29.66 kB / 436.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.172, allocations: 326.8 kB / 436.5 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/0.1721, allocations: 23.98 kB / 436.5 MB, free: 1.379 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.1721, allocations: 37.7 kB / 436.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.1723, allocations: 57.64 kB / 436.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1723, allocations: 0 / 436.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001836/0.1725, allocations: 105.6 kB / 436.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1725, allocations: 4 kB / 436.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1725, allocations: 0 / 436.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1725, allocations: 0 / 436.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.796e-05/0.1726, allocations: 24.3 kB / 436.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1726, allocations: 0 / 436.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.1727, allocations: 7.938 kB / 436.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1727, allocations: 8 kB / 436.8 MB, free: 1.121 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.0001203/0.1728, allocations: 125.8 kB / 436.9 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.1729, allocations: 15.84 kB / 436.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.1729, allocations: 21.39 kB / 436.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1729, allocations: 0 / 436.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.1729, allocations: 4.172 kB / 437 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.173, allocations: 3.938 kB / 437 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.1734, allocations: 391.3 kB / 437.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1734, allocations: 4 kB / 437.3 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.1735, allocations: 15.92 kB / 437.4 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.1735, allocations: 8.031 kB / 437.4 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1735, allocations: 3.938 kB / 437.4 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1735, allocations: 0 / 437.4 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1735, allocations: 4 kB / 437.4 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.1737, allocations: 204.4 kB / 437.6 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.1738, allocations: 85.02 kB / 437.7 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.1738, allocations: 11.94 kB / 437.7 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.523e-05/0.1739, allocations: 3.984 kB / 437.7 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.1739, allocations: 4 kB / 437.7 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.174, allocations: 8 kB / 437.7 MB, free: 120 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.1741, allocations: 160.2 kB / 437.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1741, allocations: 0 / 437.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1744, allocations: 20 kB / 437.9 MB, free: 15.94 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 (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.001068/0.1755, allocations: 474.9 kB / 438.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.1757, allocations: 67.91 kB / 438.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1757, allocations: 0 / 438.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.84e-05/0.1758, allocations: 27.98 kB / 438.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.1761, allocations: 35.91 kB / 438.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.1766, allocations: 274.8 kB / 438.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.1769, allocations: 0.7079 MB / 439.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.247e-05/0.177, allocations: 21.17 kB / 439.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.1771, allocations: 23.42 kB / 439.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1771, allocations: 0 / 439.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of Templates: time 0.004591/0.1817, allocations: 1.678 MB / 441.1 MB, free: 12.62 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)