Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 108 kB / 15.61 MB, free: 152 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.001735/0.001735, allocations: 195 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.647/1.647, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.3585/0.3585, allocations: 39.94 MB / 309.7 MB, free: 9.266 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.002133/0.002133, allocations: 75.88 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1554, allocations: 56.88 MB / 434.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.004523/0.16, allocations: 1.689 MB / 436.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1616, allocations: 0.8016 MB / 437 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.1617, allocations: 3.938 kB / 437 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.1622, allocations: 35.83 kB / 437 MB, free: 1.113 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.0003524/0.1626, allocations: 51.7 kB / 437.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.1629, allocations: 83.75 kB / 437.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.1633, allocations: 91.7 kB / 437.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.1634, allocations: 20.2 kB / 437.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.1635, allocations: 43.78 kB / 437.3 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.1637, allocations: 23.86 kB / 437.3 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.1637, allocations: 4 kB / 437.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.1639, allocations: 47.97 kB / 437.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.697e-05/0.164, allocations: 15.92 kB / 437.4 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.831e-05/0.1641, allocations: 31.75 kB / 437.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.1644, allocations: 115.9 kB / 437.6 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1644, allocations: 4 kB / 437.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1644, allocations: 0 / 437.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.1644, allocations: 0 / 437.6 MB, free: 0.5898 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.0007743/0.1652, allocations: 403 kB / 437.9 MB, free: 152 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.1653, allocations: 19.88 kB / 438 MB, free: 132 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.1653, allocations: 16.75 kB / 438 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.1656, allocations: 204 kB / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.1657, allocations: 8.312 kB / 438.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.1657, allocations: 12.03 kB / 438.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.1659, allocations: 57.61 kB / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.1659, allocations: 3.984 kB / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.166, allocations: 0 / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.166, allocations: 4 kB / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.439e-05/0.1661, allocations: 15.98 kB / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.1666, allocations: 280.9 kB / 438.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.1668, allocations: 62.62 kB / 438.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.159e-05/0.1669, allocations: 20.84 kB / 438.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.1669, allocations: 4 kB / 438.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/0.1672, allocations: 63.39 kB / 438.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.787e-06/0.1672, allocations: 3.984 kB / 438.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006672/0.1679, allocations: 173.2 kB / 438.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.1679, allocations: 51.41 kB / 438.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.1682, allocations: 170.2 kB / 439.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.1682, allocations: 29.7 kB / 439.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.1683, allocations: 100.1 kB / 439.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.1683, allocations: 23.66 kB / 439.2 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.1684, allocations: 25.7 kB / 439.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.1686, allocations: 330.8 kB / 439.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.201e-05/0.1687, allocations: 20 kB / 439.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.1687, allocations: 41.64 kB / 439.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.1689, allocations: 61.62 kB / 439.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1689, allocations: 0 / 439.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002368/0.1691, allocations: 105.5 kB / 439.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1692, allocations: 4 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1692, allocations: 4.031 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.1692, allocations: 0 / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1693, allocations: 16 kB / 439.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1693, allocations: 0 / 439.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.071e-05/0.1694, allocations: 12.3 kB / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1694, allocations: 0 / 439.9 MB, free: 14.05 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 0.0001229/0.1696, allocations: 125.8 kB / 440 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.1696, allocations: 11.81 kB / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.231e-05/0.1697, allocations: 20.7 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1697, allocations: 4.188 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.1697, allocations: 4 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.1697, allocations: 7.875 kB / 440 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005283/0.1702, allocations: 387.3 kB / 440.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1703, allocations: 0 / 440.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.1703, allocations: 8 kB / 440.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1703, allocations: 4 kB / 440.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1703, allocations: 7.969 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1703, allocations: 3.984 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1703, allocations: 0 / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.1706, allocations: 200.2 kB / 440.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.1707, allocations: 85.02 kB / 440.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.1707, allocations: 3.938 kB / 440.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.1708, allocations: 4 kB / 440.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.1708, allocations: 15.98 kB / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1708, allocations: 4 kB / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.171, allocations: 128.1 kB / 440.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.171, allocations: 0 / 440.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.1713, allocations: 27.98 kB / 440.9 MB, free: 12.91 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.001106/0.1724, allocations: 469.5 kB / 441.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.1726, allocations: 67.89 kB / 441.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1726, allocations: 0 / 441.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.057e-05/0.1727, allocations: 27.94 kB / 441.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.1731, allocations: 32.02 kB / 441.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005462/0.1737, allocations: 222.8 kB / 441.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.1741, allocations: 0.7002 MB / 442.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.385e-05/0.1742, allocations: 17.19 kB / 442.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.1742, allocations: 15.44 kB / 442.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1742, allocations: 0 / 442.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of Templates: time 0.005097/0.1793, allocations: 1.689 MB / 444.1 MB, free: 9.656 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1)