Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006248/0.006248, allocations: 102 kB / 15.73 MB, free: 6.039 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.001107/0.001107, allocations: 194.5 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2131/0.2131, allocations: 38.01 MB / 307.9 MB, free: 5.961 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.001523/0.001523, allocations: 75.91 kB / 433 MB, free: 14.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1508, allocations: 56.47 MB / 489.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003269/0.1542, allocations: 1.668 MB / 491.2 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1556, allocations: 0.8051 MB / 492 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.139e-05/0.1557, allocations: 3.938 kB / 492 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004007/0.1561, allocations: 107.7 kB / 492.1 MB, free: 3.199 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.1564, allocations: 95.62 kB / 492.2 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.1567, allocations: 71.78 kB / 492.3 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.157, allocations: 123.7 kB / 492.4 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.1571, allocations: 12.2 kB / 492.4 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.1572, allocations: 51.83 kB / 492.4 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.1574, allocations: 75.73 kB / 492.5 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.1574, allocations: 8 kB / 492.5 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1575, allocations: 36 kB / 492.6 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.238e-05/0.1576, allocations: 31.84 kB / 492.6 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.528e-05/0.1577, allocations: 43.67 kB / 492.6 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.158, allocations: 131.6 kB / 492.8 MB, free: 2.531 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.158, allocations: 0 / 492.8 MB, free: 2.531 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.158, allocations: 0 / 492.8 MB, free: 2.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.158, allocations: 0 / 492.8 MB, free: 2.531 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006995/0.1587, allocations: 442.7 kB / 493.2 MB, free: 2.051 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.1588, allocations: 11.89 kB / 493.2 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.1588, allocations: 16.75 kB / 493.2 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.1592, allocations: 227.8 kB / 493.4 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1592, allocations: 384 / 493.4 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.1593, allocations: 8.125 kB / 493.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1595, allocations: 65.66 kB / 493.5 MB, free: 1.684 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1595, allocations: 0 / 493.5 MB, free: 1.684 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.1595, allocations: 7.984 kB / 493.5 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1595, allocations: 0 / 493.5 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.659e-05/0.1596, allocations: 31.92 kB / 493.6 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.1601, allocations: 308.7 kB / 493.9 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.1603, allocations: 70.61 kB / 493.9 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.7e-05/0.1604, allocations: 28.86 kB / 494 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.1605, allocations: 4 kB / 494 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.1606, allocations: 75.44 kB / 494 MB, free: 1.094 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.1607, allocations: 0 / 494 MB, free: 1.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006726/0.1613, allocations: 205 kB / 494.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.1614, allocations: 55.41 kB / 494.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.1616, allocations: 246.5 kB / 494.5 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.178e-05/0.1617, allocations: 33.7 kB / 494.6 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.1618, allocations: 112.1 kB / 494.7 MB, free: 424 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.1619, allocations: 27.66 kB / 494.7 MB, free: 396 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.1619, allocations: 21.7 kB / 494.7 MB, free: 368 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1621, allocations: 334.8 kB / 495 MB, free: 24 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.1622, allocations: 23.98 kB / 495.1 MB, free: 0 / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.12e-05/0.1623, allocations: 41.77 kB / 495.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.1625, allocations: 73.64 kB / 495.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1625, allocations: 4 kB / 495.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002195/0.1627, allocations: 117.4 kB / 495.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.1627, allocations: 8 kB / 495.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1627, allocations: 0 / 495.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1628, allocations: 192 / 495.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1629, allocations: 16 kB / 495.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1629, allocations: 3.938 kB / 495.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.163, allocations: 11.95 kB / 495.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.163, allocations: 4 kB / 495.3 MB, free: 15.7 MB / 382.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.1631, allocations: 145.6 kB / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.1631, allocations: 15.81 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.916e-05/0.1632, allocations: 17.41 kB / 495.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1632, allocations: 4 kB / 495.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1632, allocations: 3.984 kB / 495.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1632, allocations: 3.938 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.1637, allocations: 415.3 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1637, allocations: 0 / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.1638, allocations: 12 kB / 495.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1638, allocations: 7.984 kB / 496 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1638, allocations: 3.938 kB / 496 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1638, allocations: 0 / 496 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1638, allocations: 4 kB / 496 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1641, allocations: 216.2 kB / 496.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.1641, allocations: 88.92 kB / 496.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.1642, allocations: 11.92 kB / 496.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.1642, allocations: 4 kB / 496.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.1643, allocations: 7.984 kB / 496.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1643, allocations: 8 kB / 496.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.1645, allocations: 188.2 kB / 496.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1645, allocations: 0 / 496.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1648, allocations: 27.88 kB / 496.5 MB, free: 14.44 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/0.1658, allocations: 467.5 kB / 497 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.1661, allocations: 71.91 kB / 497 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1661, allocations: 0 / 497 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.634e-05/0.1662, allocations: 35.97 kB / 497.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.1666, allocations: 39.77 kB / 497.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.1673, allocations: 283.8 kB / 497.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.1676, allocations: 0.7159 MB / 498.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.93e-05/0.1677, allocations: 24.77 kB / 498.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.1678, allocations: 19.44 kB / 498.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1678, allocations: 0 / 498.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of Templates: time 0.00522/0.173, allocations: 1.84 MB / 500 MB, free: 10.94 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)