Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009977/0.0009972, allocations: 103.1 kB / 15.06 MB, free: 1.098 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.001115/0.001115, allocations: 173.3 kB / 15.95 MB, free: 212 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.61/1.61, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3734/0.3734, allocations: 38.03 MB / 308.4 MB, free: 10.38 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.0005632/0.0005635, allocations: 19.98 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1594, allocations: 57.51 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002351/0.1618, allocations: 1.331 MB / 435.3 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1631, allocations: 0.7303 MB / 436 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.946e-05/0.1632, allocations: 0 / 436 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.1635, allocations: 31.84 kB / 436 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.1637, allocations: 51.8 kB / 436.1 MB, free: 3.422 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.164, allocations: 71.84 kB / 436.1 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.1641, allocations: 63.8 kB / 436.2 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.568e-05/0.1642, allocations: 7.984 kB / 436.2 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.479e-05/0.1643, allocations: 39.84 kB / 436.2 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.625e-05/0.1644, allocations: 31.84 kB / 436.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1644, allocations: 4 kB / 436.3 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.159e-05/0.1645, allocations: 15.98 kB / 436.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.1646, allocations: 23.92 kB / 436.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.1646, allocations: 41.64 kB / 436.4 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.1648, allocations: 92.08 kB / 436.5 MB, free: 3.031 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1648, allocations: 0 / 436.5 MB, free: 3.031 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1648, allocations: 3.938 kB / 436.5 MB, free: 3.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1648, allocations: 0 / 436.5 MB, free: 3.027 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.000596/0.1654, allocations: 418.7 kB / 436.9 MB, free: 2.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1655, allocations: 12.02 kB / 436.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.1655, allocations: 15.86 kB / 436.9 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.1658, allocations: 202.8 kB / 437.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.1658, allocations: 7.984 kB / 437.1 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.1659, allocations: 8 kB / 437.1 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.166, allocations: 45.67 kB / 437.2 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.166, allocations: 0 / 437.2 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1661, allocations: 0 / 437.2 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1661, allocations: 3.984 kB / 437.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.733e-05/0.1662, allocations: 19.89 kB / 437.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002326/0.1664, allocations: 193.7 kB / 437.4 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.1666, allocations: 50.62 kB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1666, allocations: 0 / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.1668, allocations: 75.41 kB / 437.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.1668, allocations: 0 / 437.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003418/0.1672, allocations: 97.48 kB / 437.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.1672, allocations: 51.41 kB / 437.6 MB, free: 1.668 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.1675, allocations: 266.5 kB / 437.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1676, allocations: 25.7 kB / 437.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.642e-05/0.1677, allocations: 112.1 kB / 438 MB, free: 1.246 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.1677, allocations: 11.91 kB / 438 MB, free: 1.234 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-06/0.1677, allocations: 0 / 438 MB, free: 1.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.168, allocations: 322.8 kB / 438.4 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.624e-05/0.168, allocations: 19.92 kB / 438.4 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-05/0.1681, allocations: 37.64 kB / 438.4 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.941e-05/0.1682, allocations: 12 kB / 438.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1682, allocations: 0 / 438.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001569/0.1683, allocations: 81.5 kB / 438.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1684, allocations: 4 kB / 438.5 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1684, allocations: 3.938 kB / 438.5 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1684, allocations: 4 kB / 438.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.64e-05/0.1685, allocations: 19.92 kB / 438.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1685, allocations: 0 / 438.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.1686, allocations: 15.88 kB / 438.5 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.1686, allocations: 3.953 kB / 438.6 MB, free: 0.6992 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 (7): * Single equations (assignments): 7 * 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.0001291/0.1687, allocations: 130.9 kB / 438.7 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.1688, allocations: 15.91 kB / 438.7 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.1688, allocations: 16.98 kB / 438.7 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1688, allocations: 4 kB / 438.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1688, allocations: 0 / 438.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1689, allocations: 0 / 438.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.169, allocations: 193.6 kB / 438.9 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1691, allocations: 4 kB / 438.9 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.1691, allocations: 4 kB / 438.9 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1691, allocations: 0 / 438.9 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1691, allocations: 0 / 438.9 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1691, allocations: 4 kB / 438.9 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.1691, allocations: 3.984 kB / 438.9 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.1693, allocations: 117.1 kB / 439 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.1694, allocations: 92.91 kB / 439.1 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.612e-05/0.1694, allocations: 8 kB / 439.1 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.276e-05/0.1695, allocations: 4 kB / 439.1 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.1696, allocations: 3.984 kB / 439.1 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.1696, allocations: 4 kB / 439.1 MB, free: 8 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001972/0.1698, allocations: 196 kB / 439.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1698, allocations: 0 / 439.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.17, allocations: 23.98 kB / 439.4 MB, free: 15.79 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 (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.001064/0.1711, allocations: 421.9 kB / 439.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.1713, allocations: 43.92 kB / 439.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1713, allocations: 0 / 439.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.469e-05/0.1713, allocations: 16 kB / 439.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.1716, allocations: 27.92 kB / 439.9 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.1721, allocations: 273.9 kB / 440.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1724, allocations: 0.7199 MB / 440.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.804e-05/0.1724, allocations: 12.55 kB / 440.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.1725, allocations: 15.44 kB / 440.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of SimCode: time 1.633e-06/0.1725, allocations: 0 / 440.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of Templates: time 0.004635/0.1771, allocations: 1.402 MB / 442.3 MB, free: 12.85 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) Environment - environmentSimulation: