Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009444/0.009444, allocations: 101 kB / 15.73 MB, free: 6.059 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.001425/0.001425, allocations: 197.3 kB / 16.67 MB, free: 5.969 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.735/1.735, allocations: 205.1 MB / 222.5 MB, free: 12.24 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.2923/0.2923, allocations: 38 MB / 307.9 MB, free: 5.977 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.002441/0.002442, allocations: 67.91 kB / 433.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1545, allocations: 56.46 MB / 489.5 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.004184/0.1587, allocations: 1.668 MB / 491.2 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1605, allocations: 0.8089 MB / 492 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1606, allocations: 0 / 492 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.161, allocations: 43.77 kB / 492 MB, free: 3.277 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.0002226/0.1612, allocations: 55.77 kB / 492.1 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.1614, allocations: 79.77 kB / 492.2 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.1616, allocations: 99.67 kB / 492.3 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1617, allocations: 20.16 kB / 492.3 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.855e-05/0.1618, allocations: 31.86 kB / 492.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.104e-05/0.1619, allocations: 43.7 kB / 492.4 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1619, allocations: 4 kB / 492.4 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.7e-05/0.162, allocations: 36 kB / 492.4 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1622, allocations: 19.92 kB / 492.4 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.1622, allocations: 35.78 kB / 492.5 MB, free: 2.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.1624, allocations: 107.6 kB / 492.6 MB, free: 2.754 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1625, allocations: 0 / 492.6 MB, free: 2.754 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1625, allocations: 0 / 492.6 MB, free: 2.754 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1625, allocations: 0 / 492.6 MB, free: 2.754 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.0006005/0.1631, allocations: 418.7 kB / 493 MB, free: 2.297 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1631, allocations: 11.89 kB / 493 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.1632, allocations: 24.83 kB / 493 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.1635, allocations: 204.1 kB / 493.2 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1635, allocations: 4.375 kB / 493.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.1636, allocations: 8.125 kB / 493.2 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1637, allocations: 57.67 kB / 493.3 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1638, allocations: 7.969 kB / 493.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1638, allocations: 0 / 493.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1638, allocations: 0 / 493.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/0.1639, allocations: 31.86 kB / 493.3 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.1643, allocations: 284.9 kB / 493.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.1644, allocations: 50.69 kB / 493.6 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.684e-05/0.1645, allocations: 20.84 kB / 493.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1645, allocations: 4 kB / 493.7 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.1647, allocations: 71.33 kB / 493.7 MB, free: 1.414 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1647, allocations: 0 / 493.7 MB, free: 1.414 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006155/0.1653, allocations: 189.3 kB / 493.9 MB, free: 1.223 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.1654, allocations: 51.41 kB / 494 MB, free: 1.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.1656, allocations: 186.2 kB / 494.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1657, allocations: 25.7 kB / 494.2 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.1657, allocations: 96.14 kB / 494.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.1658, allocations: 31.78 kB / 494.3 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.1658, allocations: 25.66 kB / 494.3 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.166, allocations: 330.8 kB / 494.6 MB, free: 456 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.687e-05/0.1661, allocations: 19.98 kB / 494.7 MB, free: 436 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-05/0.1662, allocations: 33.7 kB / 494.7 MB, free: 396 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.1663, allocations: 69.7 kB / 494.8 MB, free: 320 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1663, allocations: 0 / 494.8 MB, free: 320 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001734/0.1665, allocations: 101.6 kB / 494.9 MB, free: 212 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1665, allocations: 4 kB / 494.9 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1665, allocations: 0 / 494.9 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1665, allocations: 7.938 kB / 494.9 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.1666, allocations: 19.98 kB / 494.9 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1666, allocations: 0 / 494.9 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.1667, allocations: 7.938 kB / 494.9 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1667, allocations: 384 / 494.9 MB, free: 172 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 (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 0.0002058/0.1669, allocations: 137.8 kB / 495 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.1669, allocations: 7.953 kB / 495 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.167, allocations: 12.72 kB / 495.1 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.167, allocations: 0 / 495.1 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.167, allocations: 4 kB / 495.1 MB, free: 0 / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-05/0.167, allocations: 11.98 kB / 495.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004928/0.1675, allocations: 383.2 kB / 495.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1676, allocations: 4.031 kB / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.518e-05/0.1676, allocations: 15.94 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1676, allocations: 192 / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.1676, allocations: 7.938 kB / 495.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1676, allocations: 3.938 kB / 495.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1676, allocations: 0 / 495.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.1679, allocations: 200.3 kB / 495.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.1679, allocations: 93.05 kB / 495.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.168, allocations: 3.938 kB / 495.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.168, allocations: 4 kB / 495.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.1681, allocations: 7.984 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1681, allocations: 8 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1682, allocations: 144 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.064e-06/0.1682, allocations: 0 / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1685, allocations: 31.86 kB / 496 MB, free: 15 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.001156/0.1697, allocations: 454.6 kB / 496.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1699, allocations: 59.91 kB / 496.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1699, allocations: 0 / 496.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.272e-05/0.1699, allocations: 32.2 kB / 496.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1703, allocations: 35.81 kB / 496.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.1709, allocations: 219 kB / 496.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.1713, allocations: 0.704 MB / 497.4 MB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.011e-05/0.1713, allocations: 16.94 kB / 497.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.1714, allocations: 19.44 kB / 497.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1714, allocations: 0 / 497.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of Templates: time 0.005034/0.1764, allocations: 1.704 MB / 499.2 MB, free: 11.76 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1)