Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.691/1.691, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.3572/0.3572, allocations: 38 MB / 307.8 MB, free: 10.09 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.001827/0.001828, allocations: 75.83 kB / 375.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.157, allocations: 56.47 MB / 431.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003755/0.1608, allocations: 1.673 MB / 433.4 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.1631, allocations: 1.408 MB / 434.8 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.303e-05/0.1632, allocations: 4 kB / 434.8 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003898/0.1636, allocations: 35.78 kB / 434.8 MB, free: 3.469 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.0002994/0.1639, allocations: 55.75 kB / 434.9 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.1643, allocations: 91.69 kB / 435 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.1645, allocations: 99.7 kB / 435.1 MB, free: 3.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1646, allocations: 12.22 kB / 435.1 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.1647, allocations: 47.77 kB / 435.1 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.1649, allocations: 39.84 kB / 435.2 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.165, allocations: 4 kB / 435.2 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.1651, allocations: 59.97 kB / 435.2 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.439e-05/0.1652, allocations: 23.92 kB / 435.3 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.229e-05/0.1653, allocations: 43.77 kB / 435.3 MB, free: 3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.1656, allocations: 127.8 kB / 435.4 MB, free: 2.875 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.1656, allocations: 8 kB / 435.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1656, allocations: 0 / 435.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.445e-06/0.1656, allocations: 0 / 435.4 MB, free: 2.867 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.0007691/0.1664, allocations: 411 kB / 435.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.1665, allocations: 15.89 kB / 435.9 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.1665, allocations: 8.844 kB / 435.9 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.1668, allocations: 204.7 kB / 436.1 MB, free: 2.156 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.1669, allocations: 11.94 kB / 436.1 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.1669, allocations: 4 kB / 436.1 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.1671, allocations: 79.3 kB / 436.2 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1671, allocations: 0 / 436.2 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.1672, allocations: 4 kB / 436.2 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1672, allocations: 0 / 436.2 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.752e-05/0.1673, allocations: 23.98 kB / 436.2 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.1677, allocations: 300.8 kB / 436.5 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.1679, allocations: 70.61 kB / 436.6 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.143e-05/0.168, allocations: 28.84 kB / 436.6 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.168, allocations: 0 / 436.6 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.1683, allocations: 71.39 kB / 436.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1683, allocations: 0 / 436.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006306/0.169, allocations: 201.2 kB / 436.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.169, allocations: 84.98 kB / 436.9 MB, free: 1.184 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.1692, allocations: 158.5 kB / 437.1 MB, free: 1.016 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1692, allocations: 29.64 kB / 437.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.1693, allocations: 96.14 kB / 437.2 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.1694, allocations: 27.64 kB / 437.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.1694, allocations: 29.66 kB / 437.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1695, allocations: 326.8 kB / 437.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.268e-05/0.1696, allocations: 23.98 kB / 437.6 MB, free: 480 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.322e-05/0.1697, allocations: 50.5 kB / 437.7 MB, free: 420 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.1698, allocations: 73.64 kB / 437.7 MB, free: 340 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1698, allocations: 4.031 kB / 437.7 MB, free: 336 kB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001926/0.17, allocations: 109.5 kB / 437.8 MB, free: 220 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1701, allocations: 8 kB / 437.8 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1701, allocations: 0 / 437.8 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1701, allocations: 3.938 kB / 437.9 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.946e-05/0.1702, allocations: 19.98 kB / 437.9 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1702, allocations: 0 / 437.9 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.1703, allocations: 7.906 kB / 437.9 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1703, allocations: 4.469 kB / 437.9 MB, free: 176 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 ($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.0001013/0.1704, allocations: 125.8 kB / 438 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.1704, allocations: 11.91 kB / 438 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.1705, allocations: 20.64 kB / 438 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1705, allocations: 0 / 438 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1705, allocations: 4 kB / 438 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1705, allocations: 0 / 438 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.171, allocations: 411.2 kB / 438.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.171, allocations: 4.031 kB / 438.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.1711, allocations: 15.98 kB / 438.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1711, allocations: 96 / 438.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1711, allocations: 3.938 kB / 438.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1711, allocations: 4 kB / 438.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1711, allocations: 0 / 438.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.1713, allocations: 220.2 kB / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.1714, allocations: 89 kB / 438.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.1714, allocations: 4 kB / 438.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.1715, allocations: 7.938 kB / 438.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.1716, allocations: 7.984 kB / 438.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.1716, allocations: 4 kB / 438.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.864e-05/0.1717, allocations: 123.9 kB / 438.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1717, allocations: 0 / 438.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.172, allocations: 39.89 kB / 439 MB, free: 14.99 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.001205/0.1732, allocations: 0.4996 MB / 439.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.1734, allocations: 79.84 kB / 439.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1735, allocations: 0 / 439.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.194e-05/0.1735, allocations: 31.98 kB / 439.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.1739, allocations: 35.72 kB / 439.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/0.1744, allocations: 210.9 kB / 439.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.1747, allocations: 0.6963 MB / 440.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.902e-05/0.1748, allocations: 24.78 kB / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.1749, allocations: 23.42 kB / 440.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1749, allocations: 0 / 440.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of Templates: time 0.005294/0.1802, allocations: 2.034 MB / 442.6 MB, free: 11.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1)