Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, 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.00117/0.00117, 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.746/1.746, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.4226/0.4226, allocations: 38.03 MB / 308.4 MB, free: 10.42 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.0005667/0.0005667, allocations: 24 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1519, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002398/0.1544, allocations: 1.323 MB / 435.3 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1556, allocations: 0.7225 MB / 436 MB, free: 3.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.1557, allocations: 4 kB / 436 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.156, allocations: 51.86 kB / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.1562, allocations: 55.8 kB / 436.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.1565, allocations: 75.78 kB / 436.2 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.1567, allocations: 63.84 kB / 436.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.534e-05/0.1568, allocations: 7.984 kB / 436.2 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.001e-05/0.1568, allocations: 43.83 kB / 436.3 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.255e-05/0.1569, allocations: 31.84 kB / 436.3 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.157, allocations: 0 / 436.3 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-05/0.1571, allocations: 20 kB / 436.3 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.498e-05/0.1571, allocations: 23.91 kB / 436.4 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.1572, allocations: 37.64 kB / 436.4 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1573, allocations: 80.05 kB / 436.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1573, allocations: 0 / 436.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1574, allocations: 0 / 436.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1574, allocations: 0 / 436.5 MB, free: 3.02 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.000633/0.158, allocations: 390.9 kB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1581, allocations: 8.031 kB / 436.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.1581, allocations: 15.86 kB / 436.9 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.1584, allocations: 206.8 kB / 437.1 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1584, allocations: 0 / 437.1 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.1584, allocations: 0 / 437.1 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1586, allocations: 49.62 kB / 437.1 MB, free: 2.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1586, allocations: 3.984 kB / 437.1 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1586, allocations: 4 kB / 437.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1586, allocations: 0 / 437.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.644e-05/0.1587, allocations: 11.95 kB / 437.1 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.1589, allocations: 185.6 kB / 437.3 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.1591, allocations: 58.55 kB / 437.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.1591, allocations: 4 kB / 437.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.1594, allocations: 63.48 kB / 437.4 MB, free: 1.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.1594, allocations: 0 / 437.4 MB, free: 1.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002881/0.1597, allocations: 93.58 kB / 437.5 MB, free: 1.777 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.1597, allocations: 55.41 kB / 437.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1599, allocations: 190.1 kB / 437.8 MB, free: 1.516 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1599, allocations: 25.7 kB / 437.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.16, allocations: 104.1 kB / 437.9 MB, free: 1.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.16, allocations: 11.81 kB / 437.9 MB, free: 1.367 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.1601, allocations: 0 / 437.9 MB, free: 1.367 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1602, allocations: 322.8 kB / 438.2 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.1603, allocations: 23.92 kB / 438.3 MB, free: 1.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.595e-05/0.1603, allocations: 25.72 kB / 438.3 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.979e-05/0.1604, allocations: 15.98 kB / 438.3 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1604, allocations: 0 / 438.3 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001465/0.1606, allocations: 81.53 kB / 438.4 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1606, allocations: 8 kB / 438.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1606, allocations: 0 / 438.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1606, allocations: 4.031 kB / 438.4 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1607, allocations: 8 kB / 438.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.1608, allocations: 3.984 kB / 438.4 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.1608, allocations: 4 kB / 438.4 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.1608, allocations: 7.953 kB / 438.4 MB, free: 0.8516 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.0001315/0.161, allocations: 118.9 kB / 438.5 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.161, allocations: 11.89 kB / 438.5 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.1611, allocations: 16.25 kB / 438.6 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1611, allocations: 4 kB / 438.6 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.1611, allocations: 0 / 438.6 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1611, allocations: 3.938 kB / 438.6 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.1613, allocations: 197.4 kB / 438.8 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1613, allocations: 0 / 438.8 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.1614, allocations: 7.984 kB / 438.8 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1614, allocations: 0 / 438.8 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1614, allocations: 0 / 438.8 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1614, allocations: 4 kB / 438.8 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1614, allocations: 0 / 438.8 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.1616, allocations: 113.3 kB / 438.9 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.1617, allocations: 85.08 kB / 439 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.1617, allocations: 4 kB / 439 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.026e-05/0.1618, allocations: 7.984 kB / 439 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.1618, allocations: 7.984 kB / 439 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.1618, allocations: 0 / 439 MB, free: 188 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001432/0.162, allocations: 148 kB / 439.1 MB, free: 40 kB / 366.1 MB Notification: Performance of sort global known variables: time 2.164e-06/0.162, allocations: 0 / 439.1 MB, free: 40 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.1622, allocations: 23.94 kB / 439.1 MB, free: 16 kB / 366.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.001137/0.1634, allocations: 411.7 kB / 439.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.1636, allocations: 31.98 kB / 439.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1636, allocations: 0 / 439.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.798e-05/0.1637, allocations: 32.05 kB / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.1639, allocations: 23.94 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/0.1645, allocations: 205.3 kB / 439.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.1649, allocations: 0.7043 MB / 440.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.715e-05/0.165, allocations: 20.41 kB / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.165, allocations: 19.42 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of SimCode: time 2.474e-06/0.165, allocations: 0 / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of Templates: time 0.005044/0.1701, allocations: 1.368 MB / 441.9 MB, free: 13.18 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) Environment - environmentSimulation: