Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.00141/0.00141, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.3561/0.3561, allocations: 38.03 MB / 308.4 MB, free: 10.46 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.0006927/0.0006934, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1598, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002539/0.1624, allocations: 1.366 MB / 435.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1639, allocations: 0.7381 MB / 436 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1641, allocations: 4 kB / 436 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.1644, allocations: 27.84 kB / 436.1 MB, free: 3.422 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.1646, allocations: 51.81 kB / 436.1 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.1649, allocations: 75.77 kB / 436.2 MB, free: 3.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.1651, allocations: 63.86 kB / 436.2 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1652, allocations: 8.219 kB / 436.3 MB, free: 3.227 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.843e-05/0.1653, allocations: 39.78 kB / 436.3 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.292e-05/0.1654, allocations: 23.91 kB / 436.3 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1654, allocations: 3.938 kB / 436.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.202e-05/0.1655, allocations: 24 kB / 436.3 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.1656, allocations: 23.97 kB / 436.4 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.1656, allocations: 45.52 kB / 436.4 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.1658, allocations: 84.09 kB / 436.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1658, allocations: 0 / 436.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1658, allocations: 0 / 436.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1658, allocations: 0 / 436.5 MB, free: 2.98 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.000587/0.1664, allocations: 398.9 kB / 436.9 MB, free: 2.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1664, allocations: 8.031 kB / 436.9 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.1665, allocations: 15.77 kB / 436.9 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1668, allocations: 206.9 kB / 437.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.1668, allocations: 0 / 437.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1669, allocations: 4 kB / 437.1 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.167, allocations: 53.67 kB / 437.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1671, allocations: 3.938 kB / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1671, allocations: 0 / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1671, allocations: 0 / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.479e-05/0.1672, allocations: 31.88 kB / 437.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.1676, allocations: 281 kB / 437.5 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1678, allocations: 54.67 kB / 437.5 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.1679, allocations: 0 / 437.5 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.1681, allocations: 71.45 kB / 437.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.1681, allocations: 0 / 437.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005465/0.1687, allocations: 181.2 kB / 437.8 MB, free: 1.527 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/0.1689, allocations: 55.41 kB / 437.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.169, allocations: 178.2 kB / 438 MB, free: 1.277 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.1691, allocations: 29.7 kB / 438 MB, free: 1.242 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.1692, allocations: 100.1 kB / 438.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.1692, allocations: 27.69 kB / 438.2 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.1692, allocations: 0 / 438.2 MB, free: 1.113 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1693, allocations: 326.8 kB / 438.5 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-05/0.1694, allocations: 23.98 kB / 438.5 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.876e-05/0.1695, allocations: 33.7 kB / 438.5 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.686e-05/0.1695, allocations: 24 kB / 438.6 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1695, allocations: 0 / 438.6 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000173/0.1697, allocations: 101.4 kB / 438.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1697, allocations: 4 kB / 438.7 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1697, allocations: 3.953 kB / 438.7 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1698, allocations: 4.219 kB / 438.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1699, allocations: 19.98 kB / 438.7 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.1699, allocations: 7.875 kB / 438.7 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.17, allocations: 0 / 438.7 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.17, allocations: 8 kB / 438.7 MB, free: 0.5469 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.1701, allocations: 122.9 kB / 438.8 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.1701, allocations: 11.91 kB / 438.8 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.1702, allocations: 16.7 kB / 438.9 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1702, allocations: 7.953 kB / 438.9 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1702, allocations: 0 / 438.9 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1702, allocations: 3.984 kB / 438.9 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004516/0.1707, allocations: 391.3 kB / 439.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1707, allocations: 3.938 kB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.1707, allocations: 11.95 kB / 439.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1707, allocations: 0 / 439.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1707, allocations: 7.984 kB / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1708, allocations: 4.031 kB / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1708, allocations: 0 / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.171, allocations: 218 kB / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.1711, allocations: 89.02 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.1711, allocations: 0 / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.563e-05/0.1712, allocations: 11.98 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.1712, allocations: 8 kB / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.1712, allocations: 4 kB / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.1714, allocations: 144 kB / 439.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1714, allocations: 0 / 439.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.1716, allocations: 27.98 kB / 439.8 MB, free: 15.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.1727, allocations: 469 kB / 440.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.1729, allocations: 67.84 kB / 440.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1729, allocations: 0 / 440.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.584e-05/0.173, allocations: 27.92 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.1732, allocations: 28.06 kB / 440.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.1737, allocations: 234.4 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.174, allocations: 0.7083 MB / 441.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.074e-05/0.174, allocations: 17.17 kB / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.1741, allocations: 15.44 kB / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1741, allocations: 0 / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Templates: time 0.00459/0.1787, allocations: 1.587 MB / 442.9 MB, free: 12.2 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) Environment - environmentSimulation: