Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, 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.001562/0.001562, allocations: 186 kB / 16.13 MB, free: 6.652 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.653/1.653, allocations: 205.1 MB / 222 MB, free: 4.73 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.4084/0.4084, allocations: 37.98 MB / 307.3 MB, free: 10.17 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.003037/0.003037, allocations: 67.91 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1563, allocations: 56.47 MB / 431 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003357/0.1597, allocations: 1.732 MB / 432.8 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1611, allocations: 0.8 MB / 433.6 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.65e-05/0.1612, allocations: 4 kB / 433.6 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.1616, allocations: 35.83 kB / 433.6 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.1619, allocations: 43.84 kB / 433.6 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.1622, allocations: 87.7 kB / 433.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.1624, allocations: 87.7 kB / 433.8 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.839e-05/0.1625, allocations: 16.22 kB / 433.8 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.1626, allocations: 39.78 kB / 433.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.567e-05/0.1627, allocations: 27.84 kB / 433.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1628, allocations: 4 kB / 433.9 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1629, allocations: 39.97 kB / 433.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.471e-05/0.1629, allocations: 19.86 kB / 433.9 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/0.163, allocations: 27.8 kB / 434 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.1632, allocations: 111.9 kB / 434.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1632, allocations: 4 kB / 434.1 MB, free: 3.969 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1632, allocations: 0 / 434.1 MB, free: 3.969 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1632, allocations: 0 / 434.1 MB, free: 3.969 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.000653/0.1639, allocations: 403.1 kB / 434.5 MB, free: 3.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1639, allocations: 8.031 kB / 434.5 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.164, allocations: 12.83 kB / 434.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.1643, allocations: 219.8 kB / 434.7 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1643, allocations: 384 / 434.7 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.1644, allocations: 8.125 kB / 434.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1645, allocations: 57.67 kB / 434.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1645, allocations: 0 / 434.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1645, allocations: 3.984 kB / 434.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1646, allocations: 0 / 434.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.1646, allocations: 16 kB / 434.8 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.165, allocations: 280.9 kB / 435.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.1652, allocations: 66.61 kB / 435.1 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.1652, allocations: 20.84 kB / 435.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.1653, allocations: 0 / 435.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.1655, allocations: 75.3 kB / 435.2 MB, free: 2.656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1655, allocations: 0 / 435.2 MB, free: 2.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006189/0.1661, allocations: 165.3 kB / 435.4 MB, free: 2.488 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.1662, allocations: 55.41 kB / 435.5 MB, free: 2.422 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.1663, allocations: 170.2 kB / 435.6 MB, free: 2.246 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1664, allocations: 29.7 kB / 435.6 MB, free: 2.211 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.1664, allocations: 96.12 kB / 435.7 MB, free: 2.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.1665, allocations: 23.66 kB / 435.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.1665, allocations: 33.64 kB / 435.8 MB, free: 2.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1667, allocations: 322.8 kB / 436.1 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/0.1667, allocations: 24 kB / 436.1 MB, free: 1.703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.1668, allocations: 41.64 kB / 436.2 MB, free: 1.656 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.167, allocations: 57.69 kB / 436.2 MB, free: 1.594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.167, allocations: 0 / 436.2 MB, free: 1.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001814/0.1672, allocations: 101.4 kB / 436.3 MB, free: 1.488 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1672, allocations: 11.98 kB / 436.3 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1672, allocations: 0 / 436.3 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1672, allocations: 4.031 kB / 436.3 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.494e-05/0.1673, allocations: 12 kB / 436.4 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1673, allocations: 7.938 kB / 436.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.1674, allocations: 3.938 kB / 436.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1674, allocations: 7.984 kB / 436.4 MB, free: 1.441 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.0001221/0.1675, allocations: 125.8 kB / 436.5 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.1676, allocations: 7.906 kB / 436.5 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.1676, allocations: 16.7 kB / 436.5 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1676, allocations: 8 kB / 436.5 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1676, allocations: 0 / 436.5 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1676, allocations: 3.938 kB / 436.5 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.1681, allocations: 387.3 kB / 436.9 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1681, allocations: 0 / 436.9 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.1681, allocations: 8 kB / 436.9 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1681, allocations: 0 / 436.9 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1681, allocations: 7.938 kB / 436.9 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1682, allocations: 8.016 kB / 436.9 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1682, allocations: 0 / 436.9 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.1684, allocations: 204.4 kB / 437.1 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.1684, allocations: 89 kB / 437.2 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1685, allocations: 4.312 kB / 437.2 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.1686, allocations: 8 kB / 437.2 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.1686, allocations: 15.98 kB / 437.3 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.1686, allocations: 8 kB / 437.3 MB, free: 464 kB / 366.1 MB Notification: Performance of sorting global known variables: time 9.714e-05/0.1687, allocations: 124.1 kB / 437.4 MB, free: 340 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1687, allocations: 4 kB / 437.4 MB, free: 336 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.169, allocations: 27.98 kB / 437.4 MB, free: 308 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.001133/0.1701, allocations: 473.2 kB / 437.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.1703, allocations: 63.89 kB / 437.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1704, allocations: 0 / 437.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.1705, allocations: 27.94 kB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1709, allocations: 27.97 kB / 438 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.1713, allocations: 228.8 kB / 438.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.1716, allocations: 0.7004 MB / 438.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.284e-05/0.1716, allocations: 25.17 kB / 438.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.1717, allocations: 15.44 kB / 439 MB, free: 14.72 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1717, allocations: 0 / 439 MB, free: 14.72 MB / 382.1 MB Notification: Performance of Templates: time 0.004111/0.1758, allocations: 1.632 MB / 440.6 MB, free: 13.09 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1)