Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006288/0.006288, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001126/0.001126, allocations: 195.2 kB / 16.67 MB, free: 5.52 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.615/1.615, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.231/0.231, allocations: 38 MB / 307.9 MB, free: 5.996 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.001466/0.001466, allocations: 67.91 kB / 433 MB, free: 14.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1497, allocations: 56.47 MB / 489.5 MB, free: 5.836 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003715/0.1535, allocations: 1.876 MB / 491.4 MB, free: 3.945 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1552, allocations: 0.8519 MB / 492.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.1553, allocations: 0 / 492.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004195/0.1557, allocations: 47.64 kB / 492.3 MB, free: 3.039 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.0003001/0.156, allocations: 55.64 kB / 492.3 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.1564, allocations: 107.7 kB / 492.4 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.1566, allocations: 131.6 kB / 492.6 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.1568, allocations: 33.48 kB / 492.6 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.1569, allocations: 59.7 kB / 492.7 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.157, allocations: 47.72 kB / 492.7 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.157, allocations: 8 kB / 492.7 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1572, allocations: 47.91 kB / 492.8 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.466e-05/0.1572, allocations: 27.92 kB / 492.8 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.517e-05/0.1573, allocations: 47.67 kB / 492.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.1576, allocations: 155.5 kB / 493 MB, free: 2.324 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1576, allocations: 3.938 kB / 493 MB, free: 2.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1576, allocations: 0 / 493 MB, free: 2.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1577, allocations: 0 / 493 MB, free: 2.32 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007194/0.1584, allocations: 480.5 kB / 493.5 MB, free: 1.797 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1584, allocations: 15.89 kB / 493.5 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.1585, allocations: 12.75 kB / 493.5 MB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.1588, allocations: 228 kB / 493.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.1589, allocations: 4.312 kB / 493.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.1589, allocations: 20.06 kB / 493.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.1592, allocations: 104.2 kB / 493.8 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1592, allocations: 0 / 493.8 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.1592, allocations: 11.98 kB / 493.8 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1592, allocations: 0 / 493.8 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.1594, allocations: 51.91 kB / 493.9 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006068/0.16, allocations: 0.5048 MB / 494.4 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.1603, allocations: 86.67 kB / 494.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.604e-05/0.1605, allocations: 36.83 kB / 494.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.1605, allocations: 4 kB / 494.5 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.1607, allocations: 83.31 kB / 494.6 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 4.418e-06/0.1607, allocations: 0 / 494.6 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004182/0.1611, allocations: 153.3 kB / 494.8 MB, free: 364 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.1612, allocations: 55.34 kB / 494.8 MB, free: 296 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.1614, allocations: 187.5 kB / 495 MB, free: 96 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1614, allocations: 25.7 kB / 495 MB, free: 64 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.761e-05/0.1615, allocations: 120 kB / 495.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.1615, allocations: 31.55 kB / 495.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.1616, allocations: 29.7 kB / 495.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1617, allocations: 326.8 kB / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.489e-05/0.1618, allocations: 32.11 kB / 495.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.522e-05/0.1619, allocations: 64.27 kB / 495.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.1621, allocations: 96.53 kB / 495.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1621, allocations: 0 / 495.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002636/0.1624, allocations: 141.3 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1624, allocations: 4 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1624, allocations: 0 / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1624, allocations: 8.125 kB / 495.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.1625, allocations: 27.92 kB / 495.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1625, allocations: 4 kB / 495.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.265e-05/0.1626, allocations: 7.984 kB / 495.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.1626, allocations: 4 kB / 495.9 MB, free: 15.13 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001155/0.1628, allocations: 136.3 kB / 496 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.1628, allocations: 15.81 kB / 496 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.092e-05/0.1628, allocations: 21.39 kB / 496.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1629, allocations: 3.938 kB / 496.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1629, allocations: 4 kB / 496.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1629, allocations: 4 kB / 496.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.1631, allocations: 213.5 kB / 496.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1631, allocations: 0 / 496.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.381e-05/0.1632, allocations: 11.98 kB / 496.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1632, allocations: 0 / 496.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1632, allocations: 8 kB / 496.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.1632, allocations: 3.938 kB / 496.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1632, allocations: 0 / 496.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.1636, allocations: 184.8 kB / 496.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.1637, allocations: 88.95 kB / 496.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1637, allocations: 4 kB / 496.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-05/0.1638, allocations: 12.06 kB / 496.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.1638, allocations: 11.92 kB / 496.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.1638, allocations: 7.938 kB / 496.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.164, allocations: 141.3 kB / 496.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.164, allocations: 0 / 496.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.1642, allocations: 24 kB / 496.8 MB, free: 14.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001084/0.1653, allocations: 416.9 kB / 497.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.1656, allocations: 83.83 kB / 497.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1656, allocations: 0 / 497.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.1657, allocations: 44.17 kB / 497.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.1661, allocations: 39.58 kB / 497.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006173/0.1667, allocations: 268 kB / 497.6 MB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.167, allocations: 0.7045 MB / 498.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.867e-05/0.1671, allocations: 21.42 kB / 498.3 MB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.1672, allocations: 23.36 kB / 498.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1672, allocations: 0 / 498.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of Templates: time 0.005788/0.173, allocations: 1.874 MB / 0.4885 GB, free: 10.69 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)