Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 108 kB / 15.6 MB, free: 132 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.002246/0.002246, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.81/1.81, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3731/0.3731, allocations: 39.94 MB / 309.7 MB, free: 9.242 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.2. 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.001621/0.001621, allocations: 67.91 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1523, allocations: 56.88 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.004228/0.1565, allocations: 1.685 MB / 436.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.1587, allocations: 1.412 MB / 437.6 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.794e-05/0.1588, allocations: 0 / 437.6 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.1591, allocations: 35.77 kB / 437.6 MB, free: 0.5312 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.0002255/0.1594, allocations: 59.75 kB / 437.7 MB, free: 484 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.1596, allocations: 87.7 kB / 437.8 MB, free: 396 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1598, allocations: 95.69 kB / 437.9 MB, free: 300 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1599, allocations: 12.22 kB / 437.9 MB, free: 288 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.16, allocations: 43.78 kB / 437.9 MB, free: 244 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1602, allocations: 35.84 kB / 438 MB, free: 208 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1602, allocations: 4 kB / 438 MB, free: 204 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1604, allocations: 63.97 kB / 438 MB, free: 140 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.1604, allocations: 19.91 kB / 438 MB, free: 120 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.1605, allocations: 31.75 kB / 438.1 MB, free: 88 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.1608, allocations: 127.9 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1608, allocations: 0 / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1608, allocations: 0 / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1608, allocations: 0 / 438.2 MB, free: 15.96 MB / 382.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.0006419/0.1615, allocations: 399.1 kB / 438.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.1615, allocations: 15.89 kB / 438.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.1616, allocations: 8.844 kB / 438.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.1619, allocations: 211.4 kB / 438.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1619, allocations: 384 / 438.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.1619, allocations: 12.12 kB / 438.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1621, allocations: 79.31 kB / 438.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1621, allocations: 0 / 438.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1622, allocations: 0 / 438.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1622, allocations: 0 / 438.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.068e-05/0.1623, allocations: 19.98 kB / 438.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.1627, allocations: 288.7 kB / 439.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.1629, allocations: 58.62 kB / 439.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.508e-05/0.1629, allocations: 20.84 kB / 439.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.163, allocations: 7.938 kB / 439.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.1632, allocations: 67.39 kB / 439.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1632, allocations: 0 / 439.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005726/0.1638, allocations: 169.2 kB / 439.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.1639, allocations: 77.11 kB / 439.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.164, allocations: 145.8 kB / 439.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.164, allocations: 33.69 kB / 439.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.1641, allocations: 96.14 kB / 439.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.1641, allocations: 31.62 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.1642, allocations: 21.72 kB / 439.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.1643, allocations: 330.7 kB / 440.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.1644, allocations: 23.98 kB / 440.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.401e-05/0.1644, allocations: 38.56 kB / 440.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1645, allocations: 61.75 kB / 440.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1646, allocations: 0 / 440.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001789/0.1647, allocations: 101.6 kB / 440.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1648, allocations: 4 kB / 440.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1648, allocations: 0 / 440.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1648, allocations: 4 kB / 440.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.1649, allocations: 15.98 kB / 440.5 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1649, allocations: 3.938 kB / 440.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.165, allocations: 11.94 kB / 440.5 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.165, allocations: 4.031 kB / 440.5 MB, free: 13.4 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 (10): * Single equations (assignments): 10 * 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 9.371e-05/0.1651, allocations: 121.8 kB / 440.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.1651, allocations: 11.81 kB / 440.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.1652, allocations: 16.7 kB / 440.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1652, allocations: 0 / 440.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1652, allocations: 384 / 440.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.1652, allocations: 3.938 kB / 440.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.1656, allocations: 391.3 kB / 441 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1656, allocations: 8 kB / 441.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.1657, allocations: 7.984 kB / 441.1 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.1657, allocations: 4 kB / 441.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1657, allocations: 7.875 kB / 441.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1657, allocations: 0 / 441.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1657, allocations: 4 kB / 441.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.166, allocations: 200.5 kB / 441.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.166, allocations: 85.02 kB / 441.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.1661, allocations: 19.86 kB / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.1662, allocations: 0 / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.1662, allocations: 4 kB / 441.4 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.1662, allocations: 7.984 kB / 441.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.408e-05/0.1663, allocations: 114.7 kB / 441.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1663, allocations: 0 / 441.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.1666, allocations: 31.98 kB / 441.5 MB, free: 12.27 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 (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.00111/0.1677, allocations: 0.4933 MB / 442 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.1679, allocations: 71.89 kB / 442.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1679, allocations: 0 / 442.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.294e-05/0.168, allocations: 31.92 kB / 442.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.1684, allocations: 27.84 kB / 442.2 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.1688, allocations: 191 kB / 442.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.1691, allocations: 0.6962 MB / 443 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.527e-05/0.1691, allocations: 28.86 kB / 443.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.1692, allocations: 19.42 kB / 443.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1692, allocations: 0 / 443.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of Templates: time 0.004587/0.1738, allocations: 1.941 MB / 445 MB, free: 8.746 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1)