Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, 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.001744/0.001745, allocations: 194.8 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.788/1.788, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.3845/0.3845, allocations: 39.95 MB / 309.7 MB, free: 9.281 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.001804/0.001804, allocations: 74.55 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1532, allocations: 56.88 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003673/0.1569, allocations: 1.65 MB / 436.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.1586, allocations: 0.7821 MB / 436.9 MB, free: 1.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.1587, allocations: 0 / 436.9 MB, free: 1.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004497/0.1592, allocations: 59.75 kB / 437 MB, free: 1.172 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.0002953/0.1595, allocations: 51.75 kB / 437 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.1598, allocations: 75.77 kB / 437.1 MB, free: 1.047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.16, allocations: 95.7 kB / 437.2 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.62e-05/0.1601, allocations: 7.984 kB / 437.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.706e-05/0.1602, allocations: 39.78 kB / 437.3 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.1603, allocations: 23.86 kB / 437.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.1604, allocations: 4 kB / 437.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1605, allocations: 39.92 kB / 437.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.559e-05/0.1606, allocations: 23.92 kB / 437.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.1606, allocations: 43.66 kB / 437.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.1609, allocations: 107.9 kB / 437.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.1609, allocations: 0 / 437.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1609, allocations: 4 kB / 437.5 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1609, allocations: 0 / 437.5 MB, free: 0.6641 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007645/0.1617, allocations: 434.6 kB / 437.9 MB, free: 196 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.1618, allocations: 11.89 kB / 437.9 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.1618, allocations: 16.84 kB / 438 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.1622, allocations: 223.7 kB / 438.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1622, allocations: 384 / 438.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1622, allocations: 8.125 kB / 438.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.1624, allocations: 49.67 kB / 438.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1624, allocations: 0 / 438.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1624, allocations: 0 / 438.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1624, allocations: 4 kB / 438.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.985e-05/0.1625, allocations: 12 kB / 438.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.1627, allocations: 189.7 kB / 438.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.1629, allocations: 58.53 kB / 438.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.163, allocations: 24.8 kB / 438.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.163, allocations: 0 / 438.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.1632, allocations: 67.39 kB / 438.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.1632, allocations: 3.938 kB / 438.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002875/0.1635, allocations: 101.4 kB / 438.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.1636, allocations: 55.41 kB / 438.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.1638, allocations: 259.7 kB / 439 MB, free: 14.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1638, allocations: 25.7 kB / 439 MB, free: 14.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.1639, allocations: 112.1 kB / 439.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.164, allocations: 15.8 kB / 439.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.164, allocations: 17.72 kB / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1641, allocations: 326.8 kB / 439.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.144e-05/0.1642, allocations: 19.92 kB / 439.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.404e-05/0.1642, allocations: 33.72 kB / 439.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.486e-05/0.1643, allocations: 41.66 kB / 439.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1643, allocations: 4 kB / 439.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001452/0.1645, allocations: 85.42 kB / 439.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1645, allocations: 8 kB / 439.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1645, allocations: 0 / 439.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1645, allocations: 0 / 439.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.489e-05/0.1646, allocations: 16.28 kB / 439.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1646, allocations: 4 kB / 439.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.1647, allocations: 7.922 kB / 439.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1647, allocations: 8 kB / 439.7 MB, free: 14.22 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 (7): * Single equations (assignments): 7 * 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.0001111/0.1648, allocations: 133.8 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.1649, allocations: 15.81 kB / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/0.1649, allocations: 17 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1649, allocations: 0 / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1649, allocations: 0 / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1649, allocations: 7.984 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.1651, allocations: 189.6 kB / 440.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1651, allocations: 0 / 440.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.446e-05/0.1651, allocations: 11.98 kB / 440.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1651, allocations: 0 / 440.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1651, allocations: 4 kB / 440.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1652, allocations: 0 / 440.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1652, allocations: 0 / 440.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.1654, allocations: 120.8 kB / 440.2 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.1654, allocations: 85.02 kB / 440.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.1655, allocations: 4 kB / 440.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.429e-05/0.1655, allocations: 4 kB / 440.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.1656, allocations: 3.984 kB / 440.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.1656, allocations: 4 kB / 440.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.1658, allocations: 203 kB / 440.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1658, allocations: 0 / 440.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.166, allocations: 19.94 kB / 440.5 MB, free: 13.31 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001091/0.1671, allocations: 422.6 kB / 440.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.1673, allocations: 39.92 kB / 441 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1673, allocations: 0 / 441 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.491e-05/0.1674, allocations: 16 kB / 441 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.1677, allocations: 39.2 kB / 441 MB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.1682, allocations: 274.4 kB / 441.3 MB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.1686, allocations: 0.7119 MB / 442 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.1686, allocations: 24.52 kB / 442 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.1687, allocations: 11.44 kB / 442 MB, free: 11.76 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1687, allocations: 0 / 442 MB, free: 11.76 MB / 382.1 MB Notification: Performance of Templates: time 0.004643/0.1733, allocations: 1.498 MB / 443.5 MB, free: 10.27 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1)