Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000836/0.0008357, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005618/0.005618, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.412/1.412, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3749/0.3749, allocations: 38.03 MB / 308.8 MB, free: 10.34 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.0006788/0.0006788, allocations: 16 kB / 377.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1527, allocations: 57.51 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002381/0.1552, allocations: 1.362 MB / 435.9 MB, free: 3.832 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1567, allocations: 0.7611 MB / 436.7 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1568, allocations: 0 / 436.7 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.1572, allocations: 59.84 kB / 436.8 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.1575, allocations: 63.81 kB / 436.8 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.1578, allocations: 75.78 kB / 436.9 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.1581, allocations: 95.69 kB / 437 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.093e-05/0.1581, allocations: 11.97 kB / 437 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.1583, allocations: 43.78 kB / 437 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1584, allocations: 39.83 kB / 437.1 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1584, allocations: 0 / 437.1 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.1585, allocations: 31.98 kB / 437.1 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.1586, allocations: 19.91 kB / 437.1 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.1587, allocations: 57.45 kB / 437.2 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1589, allocations: 95.92 kB / 437.3 MB, free: 2.473 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.1589, allocations: 4 kB / 437.3 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1589, allocations: 0 / 437.3 MB, free: 2.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.159, allocations: 0 / 437.3 MB, free: 2.469 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.0005796/0.1595, allocations: 387.1 kB / 437.7 MB, free: 2.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1596, allocations: 12.03 kB / 437.7 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.1597, allocations: 8.844 kB / 437.7 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.1599, allocations: 208.1 kB / 437.9 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1599, allocations: 4.375 kB / 437.9 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.16, allocations: 4.125 kB / 437.9 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.1602, allocations: 53.61 kB / 437.9 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1602, allocations: 0 / 437.9 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1602, allocations: 0 / 437.9 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1602, allocations: 0 / 437.9 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.821e-05/0.1603, allocations: 15.98 kB / 438 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.1606, allocations: 185.6 kB / 438.1 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1608, allocations: 46.62 kB / 438.2 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.1608, allocations: 24.78 kB / 438.2 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.1609, allocations: 4 kB / 438.2 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.1611, allocations: 67.33 kB / 438.3 MB, free: 1.305 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.833e-06/0.1611, allocations: 4 kB / 438.3 MB, free: 1.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003101/0.1614, allocations: 89.58 kB / 438.4 MB, free: 1.207 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.1615, allocations: 51.41 kB / 438.4 MB, free: 1.145 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.1617, allocations: 186.2 kB / 438.6 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1617, allocations: 25.7 kB / 438.6 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.366e-05/0.1618, allocations: 100.1 kB / 438.7 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.1619, allocations: 19.75 kB / 438.7 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.1619, allocations: 9.719 kB / 438.8 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1621, allocations: 326.8 kB / 439.1 MB, free: 468 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.557e-05/0.1622, allocations: 31.84 kB / 439.1 MB, free: 436 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.985e-05/0.1622, allocations: 21.72 kB / 439.1 MB, free: 408 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.1623, allocations: 45.7 kB / 439.2 MB, free: 356 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1623, allocations: 0 / 439.2 MB, free: 356 kB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001612/0.1625, allocations: 81.47 kB / 439.2 MB, free: 268 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.1625, allocations: 12.03 kB / 439.3 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1626, allocations: 0 / 439.3 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.1626, allocations: 3.984 kB / 439.3 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.315e-05/0.1627, allocations: 8 kB / 439.3 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.1627, allocations: 4 kB / 439.3 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.286e-05/0.1627, allocations: 0 / 439.3 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1628, allocations: 4.312 kB / 439.3 MB, free: 236 kB / 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.0001296/0.1629, allocations: 133.7 kB / 439.4 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.1629, allocations: 7.906 kB / 439.4 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.259e-05/0.163, allocations: 16.31 kB / 439.4 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.163, allocations: 0 / 439.4 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.163, allocations: 15.97 kB / 439.4 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.163, allocations: 0 / 439.4 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.1632, allocations: 185.4 kB / 439.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1633, allocations: 0 / 439.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-05/0.1633, allocations: 4 kB / 439.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1633, allocations: 0 / 439.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1633, allocations: 8 kB / 439.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1633, allocations: 0 / 439.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1633, allocations: 4 kB / 439.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.1635, allocations: 105 kB / 439.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/0.1636, allocations: 93 kB / 439.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.1637, allocations: 0 / 439.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.078e-05/0.1637, allocations: 4 kB / 439.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.1638, allocations: 7.922 kB / 439.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.1638, allocations: 4 kB / 439.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.1639, allocations: 144.1 kB / 440 MB, free: 15.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.472e-06/0.1639, allocations: 0 / 440 MB, free: 15.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000228/0.1642, allocations: 27.92 kB / 440 MB, free: 15.39 MB / 382.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.0009748/0.1652, allocations: 405.8 kB / 440.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.1653, allocations: 39.98 kB / 440.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1653, allocations: 0 / 440.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.197e-05/0.1654, allocations: 19.94 kB / 440.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.1657, allocations: 31.97 kB / 440.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.1662, allocations: 213.1 kB / 440.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.1665, allocations: 0.7083 MB / 441.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.113e-05/0.1666, allocations: 20.34 kB / 441.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.1666, allocations: 11.44 kB / 441.5 MB, free: 13.92 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1666, allocations: 0 / 441.5 MB, free: 13.92 MB / 382.1 MB Notification: Performance of Templates: time 0.004268/0.1709, allocations: 1.408 MB / 442.9 MB, free: 12.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) Environment - environmentSimulation: