Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 100.2 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.001384/0.001385, 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.712/1.712, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.4549/0.4549, allocations: 38.03 MB / 308.4 MB, free: 10.48 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.0006286/0.0006287, allocations: 23.98 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1522, allocations: 57.52 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002084/0.1543, allocations: 1.362 MB / 435.3 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1557, allocations: 0.7382 MB / 436 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.443e-05/0.1558, allocations: 3.938 kB / 436 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.1561, allocations: 35.83 kB / 436.1 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.1563, allocations: 47.88 kB / 436.1 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.1566, allocations: 63.8 kB / 436.2 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.1568, allocations: 67.84 kB / 436.2 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1569, allocations: 12.22 kB / 436.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.157, allocations: 35.84 kB / 436.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.92e-05/0.1571, allocations: 23.84 kB / 436.3 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.1571, allocations: 8 kB / 436.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.702e-05/0.1572, allocations: 27.98 kB / 436.4 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.1573, allocations: 19.86 kB / 436.4 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.1573, allocations: 33.7 kB / 436.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.1575, allocations: 92.03 kB / 436.5 MB, free: 3.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1575, allocations: 3.938 kB / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1575, allocations: 0 / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.1575, allocations: 0 / 436.5 MB, free: 3 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.0005161/0.1581, allocations: 387 kB / 436.9 MB, free: 2.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1581, allocations: 12.03 kB / 436.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.1582, allocations: 19.77 kB / 436.9 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1584, allocations: 198.9 kB / 437.1 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1584, allocations: 4 kB / 437.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1585, allocations: 0 / 437.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.1586, allocations: 61.55 kB / 437.2 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1586, allocations: 0 / 437.2 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1587, allocations: 7.984 kB / 437.2 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1587, allocations: 0 / 437.2 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.423e-05/0.1587, allocations: 23.94 kB / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.1591, allocations: 288.9 kB / 437.5 MB, free: 1.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.1594, allocations: 50.62 kB / 437.5 MB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1594, allocations: 4 kB / 437.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.1596, allocations: 75.5 kB / 437.6 MB, free: 1.727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1596, allocations: 0 / 437.6 MB, free: 1.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005449/0.1602, allocations: 177.2 kB / 437.8 MB, free: 1.547 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.1602, allocations: 51.41 kB / 437.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.1604, allocations: 178.2 kB / 438 MB, free: 1.301 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1604, allocations: 33.7 kB / 438 MB, free: 1.262 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.1605, allocations: 104.1 kB / 438.1 MB, free: 1.156 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.1605, allocations: 19.72 kB / 438.2 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.1606, allocations: 4 kB / 438.2 MB, free: 1.133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.1608, allocations: 322.8 kB / 438.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-05/0.1609, allocations: 23.98 kB / 438.5 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.079e-05/0.1609, allocations: 33.7 kB / 438.5 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.531e-05/0.161, allocations: 28 kB / 438.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.161, allocations: 0 / 438.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001778/0.1612, allocations: 105.5 kB / 438.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1612, allocations: 12.03 kB / 438.7 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.1612, allocations: 3.953 kB / 438.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1612, allocations: 0 / 438.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.985e-05/0.1613, allocations: 15.94 kB / 438.7 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1613, allocations: 192 / 438.7 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.1614, allocations: 7.984 kB / 438.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1614, allocations: 11.94 kB / 438.7 MB, free: 0.5586 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 9.599e-05/0.1615, allocations: 118.9 kB / 438.8 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.1615, allocations: 11.91 kB / 438.8 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.883e-05/0.1616, allocations: 20.7 kB / 438.9 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1616, allocations: 3.953 kB / 438.9 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1616, allocations: 0 / 438.9 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1616, allocations: 0 / 438.9 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.1621, allocations: 395.3 kB / 439.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1621, allocations: 0 / 439.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/0.1621, allocations: 15.94 kB / 439.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1622, allocations: 4.031 kB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.1622, allocations: 0 / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.1622, allocations: 7.938 kB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1622, allocations: 0 / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.1624, allocations: 213.9 kB / 439.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.1625, allocations: 89 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.1625, allocations: 8 kB / 439.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.1626, allocations: 4.375 kB / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.1626, allocations: 3.984 kB / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1627, allocations: 8 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1628, allocations: 140.1 kB / 439.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1628, allocations: 0 / 439.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1631, allocations: 31.98 kB / 439.8 MB, free: 15.39 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.001065/0.1641, allocations: 468.8 kB / 440.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.1643, allocations: 59.95 kB / 440.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1644, allocations: 4 kB / 440.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.783e-05/0.1644, allocations: 28 kB / 440.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.1647, allocations: 35.92 kB / 440.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.1652, allocations: 226.4 kB / 440.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.1655, allocations: 0.7082 MB / 441.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.045e-05/0.1656, allocations: 12.89 kB / 441.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.1656, allocations: 19.42 kB / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1656, allocations: 0 / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of Templates: time 0.004264/0.1699, allocations: 1.591 MB / 442.9 MB, free: 12.22 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) Environment - environmentSimulation: