Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, 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.001338/0.001338, allocations: 191.2 kB / 16.25 MB, free: 6.629 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.796/1.796, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.3834/0.3834, allocations: 39.93 MB / 309.4 MB, free: 9.695 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.001644/0.001644, allocations: 71.91 kB / 377.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1532, allocations: 56.88 MB / 434 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.005604/0.1589, allocations: 1.744 MB / 435.7 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1606, allocations: 0.7961 MB / 436.5 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.1607, allocations: 4 kB / 436.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.1612, allocations: 23.92 kB / 436.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.1615, allocations: 51.81 kB / 436.6 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.1619, allocations: 83.78 kB / 436.7 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.1622, allocations: 103.6 kB / 436.8 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1623, allocations: 16.22 kB / 436.8 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1624, allocations: 35.8 kB / 436.9 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.393e-05/0.1625, allocations: 39.83 kB / 436.9 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.1625, allocations: 4 kB / 436.9 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.1627, allocations: 35.98 kB / 436.9 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.1628, allocations: 19.92 kB / 436.9 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.953e-05/0.1629, allocations: 35.69 kB / 437 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.1631, allocations: 119.9 kB / 437.1 MB, free: 1.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1631, allocations: 0 / 437.1 MB, free: 1.195 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1631, allocations: 0 / 437.1 MB, free: 1.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.1632, allocations: 0 / 437.1 MB, free: 1.195 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.0005848/0.1637, allocations: 410.9 kB / 437.5 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1638, allocations: 15.89 kB / 437.5 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.1639, allocations: 12.83 kB / 437.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.1641, allocations: 208.1 kB / 437.7 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1641, allocations: 4.375 kB / 437.7 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.1642, allocations: 12.12 kB / 437.7 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1643, allocations: 57.61 kB / 437.8 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1644, allocations: 0 / 437.8 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1644, allocations: 0 / 437.8 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1644, allocations: 0 / 437.8 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.89e-05/0.1645, allocations: 19.98 kB / 437.8 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.1649, allocations: 280.9 kB / 438.1 MB, free: 56 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.1651, allocations: 66.61 kB / 438.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.1652, allocations: 20.8 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.1652, allocations: 0 / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.1654, allocations: 75.3 kB / 438.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.1654, allocations: 0 / 438.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005876/0.166, allocations: 173.3 kB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.166, allocations: 55.34 kB / 438.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.1663, allocations: 190.1 kB / 438.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.1663, allocations: 25.7 kB / 438.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.1664, allocations: 104.1 kB / 438.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.1664, allocations: 19.72 kB / 438.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/0.1665, allocations: 29.7 kB / 438.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1666, allocations: 326.8 kB / 439.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.1667, allocations: 20 kB / 439.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.1668, allocations: 41.64 kB / 439.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.167, allocations: 57.77 kB / 439.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.167, allocations: 0 / 439.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001785/0.1672, allocations: 101.5 kB / 439.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1672, allocations: 7.984 kB / 439.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.1672, allocations: 4.031 kB / 439.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.1672, allocations: 0 / 439.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.085e-05/0.1673, allocations: 16 kB / 439.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1673, allocations: 0 / 439.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.1674, allocations: 3.938 kB / 439.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1674, allocations: 7.984 kB / 439.4 MB, free: 14.64 MB / 382.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.0001009/0.1675, allocations: 125.8 kB / 439.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.1675, allocations: 11.91 kB / 439.6 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.952e-05/0.1676, allocations: 20.7 kB / 439.6 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1676, allocations: 0 / 439.6 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1676, allocations: 0 / 439.6 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1676, allocations: 3.938 kB / 439.6 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.168, allocations: 395.2 kB / 440 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.168, allocations: 0 / 440 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.1681, allocations: 8 kB / 440 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1681, allocations: 0 / 440 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1681, allocations: 11.95 kB / 440 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1681, allocations: 4 kB / 440 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1681, allocations: 4.312 kB / 440 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.1684, allocations: 204.2 kB / 440.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.1685, allocations: 85.02 kB / 440.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.1685, allocations: 7.938 kB / 440.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1686, allocations: 11.98 kB / 440.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.1687, allocations: 12.17 kB / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.1687, allocations: 4 kB / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.1688, allocations: 148 kB / 440.5 MB, free: 13.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1688, allocations: 0 / 440.5 MB, free: 13.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.1691, allocations: 20 kB / 440.5 MB, free: 13.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 (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.001001/0.1701, allocations: 474.6 kB / 440.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.1703, allocations: 59.91 kB / 441 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1703, allocations: 0 / 441 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.995e-05/0.1704, allocations: 35.92 kB / 441 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1707, allocations: 27.84 kB / 441.1 MB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.1712, allocations: 251.2 kB / 441.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1716, allocations: 0.7041 MB / 442 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.535e-05/0.1716, allocations: 12.88 kB / 442 MB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.1717, allocations: 15.44 kB / 442 MB, free: 11.88 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1717, allocations: 0 / 442 MB, free: 11.88 MB / 382.1 MB Notification: Performance of Templates: time 0.004476/0.1762, allocations: 1.666 MB / 443.7 MB, free: 10.22 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)