Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 99.94 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.001204/0.001204, allocations: 177.3 kB / 15.95 MB, free: 216 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.74/1.74, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.4404/0.4404, 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.0005733/0.0005734, allocations: 19.98 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1617, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002126/0.1638, allocations: 1.362 MB / 435.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1651, allocations: 0.7459 MB / 436 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.963e-05/0.1652, allocations: 0 / 436 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.1656, allocations: 79.81 kB / 436.1 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.1658, allocations: 67.78 kB / 436.2 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.1661, allocations: 71.78 kB / 436.3 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.1663, allocations: 71.84 kB / 436.3 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.1664, allocations: 12.2 kB / 436.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.27e-05/0.1665, allocations: 51.83 kB / 436.4 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.455e-05/0.1666, allocations: 43.83 kB / 436.4 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.1666, allocations: 0 / 436.4 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-05/0.1667, allocations: 31.92 kB / 436.5 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.1667, allocations: 15.98 kB / 436.5 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.1668, allocations: 41.58 kB / 436.5 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1669, allocations: 96.08 kB / 436.6 MB, free: 2.871 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1669, allocations: 0 / 436.6 MB, free: 2.871 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.167, allocations: 7.875 kB / 436.6 MB, free: 2.863 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.167, allocations: 0 / 436.6 MB, free: 2.863 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.000559/0.1675, allocations: 410.9 kB / 437 MB, free: 2.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1676, allocations: 8.031 kB / 437 MB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.1676, allocations: 11.86 kB / 437 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.1679, allocations: 218.8 kB / 437.3 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.168, allocations: 0 / 437.3 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.168, allocations: 0 / 437.3 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.1682, allocations: 53.67 kB / 437.3 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1682, allocations: 7.938 kB / 437.3 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1682, allocations: 7.938 kB / 437.3 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1682, allocations: 3.984 kB / 437.3 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.166e-05/0.1683, allocations: 23.94 kB / 437.4 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.1688, allocations: 288.9 kB / 437.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.1689, allocations: 58.61 kB / 437.7 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.169, allocations: 4 kB / 437.7 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.1691, allocations: 67.52 kB / 437.8 MB, free: 1.559 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1692, allocations: 0 / 437.8 MB, free: 1.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006419/0.1698, allocations: 181 kB / 437.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1699, allocations: 55.41 kB / 438 MB, free: 1.309 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.1701, allocations: 214.7 kB / 438.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.1701, allocations: 33.7 kB / 438.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.1702, allocations: 108.1 kB / 438.3 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.1702, allocations: 23.66 kB / 438.4 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.1702, allocations: 0 / 438.4 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1704, allocations: 326.8 kB / 438.7 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.1704, allocations: 19.98 kB / 438.7 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.189e-05/0.1705, allocations: 33.7 kB / 438.7 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/0.1706, allocations: 31.94 kB / 438.8 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1706, allocations: 0 / 438.8 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001681/0.1708, allocations: 101.5 kB / 438.9 MB, free: 400 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1708, allocations: 4 kB / 438.9 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1708, allocations: 3.953 kB / 438.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1708, allocations: 0 / 438.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1709, allocations: 19.94 kB / 438.9 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.171, allocations: 3.984 kB / 438.9 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.1711, allocations: 8.188 kB / 438.9 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1711, allocations: 4.031 kB / 438.9 MB, free: 356 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 ($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.0001133/0.1712, allocations: 134.8 kB / 439 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.1712, allocations: 11.91 kB / 439 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.1713, allocations: 13.41 kB / 439.1 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.371e-06/0.1713, allocations: 7.953 kB / 439.1 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1713, allocations: 0 / 439.1 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1713, allocations: 3.984 kB / 439.1 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004769/0.1718, allocations: 399.2 kB / 439.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1718, allocations: 3.938 kB / 439.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.1719, allocations: 11.95 kB / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1719, allocations: 0 / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1719, allocations: 4 kB / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1719, allocations: 0 / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.1719, allocations: 7.922 kB / 439.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.1722, allocations: 218 kB / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.737e-05/0.1723, allocations: 93.3 kB / 439.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.1723, allocations: 4 kB / 439.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.1724, allocations: 7.984 kB / 439.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.1725, allocations: 4 kB / 439.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.1725, allocations: 4 kB / 439.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.1726, allocations: 172.3 kB / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1727, allocations: 0 / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1729, allocations: 28 kB / 440 MB, free: 15.13 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.001123/0.174, allocations: 465.1 kB / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1742, allocations: 55.97 kB / 440.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1743, allocations: 0 / 440.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.1743, allocations: 35.92 kB / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.1746, allocations: 28.06 kB / 440.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.1751, allocations: 270.5 kB / 440.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.1755, allocations: 0.716 MB / 441.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.428e-05/0.1755, allocations: 17.19 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.1756, allocations: 19.42 kB / 441.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1756, allocations: 0 / 441.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of Templates: time 0.004509/0.1801, allocations: 1.602 MB / 443.2 MB, free: 11.9 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) Environment - environmentSimulation: