Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009717/0.009717, allocations: 101.2 kB / 15.73 MB, free: 5.523 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.001555/0.001555, allocations: 194.6 kB / 16.67 MB, free: 5.461 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.619/1.619, 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.2167/0.2167, allocations: 38 MB / 307.9 MB, free: 6.004 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.001759/0.001759, allocations: 67.91 kB / 433 MB, free: 14.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1587, allocations: 56.47 MB / 489.5 MB, free: 5.84 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.004704/0.1635, allocations: 1.633 MB / 491.1 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.165, allocations: 0.7856 MB / 491.9 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.487e-05/0.1651, allocations: 7.938 kB / 491.9 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.1656, allocations: 63.78 kB / 492 MB, free: 3.332 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.0002562/0.1658, allocations: 59.73 kB / 492.1 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1661, allocations: 79.7 kB / 492.1 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.1663, allocations: 99.73 kB / 492.2 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.436e-05/0.1664, allocations: 7.984 kB / 492.2 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1665, allocations: 51.78 kB / 492.3 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.1666, allocations: 43.83 kB / 492.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1666, allocations: 4 kB / 492.3 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.025e-05/0.1667, allocations: 31.98 kB / 492.4 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.012e-05/0.1668, allocations: 19.92 kB / 492.4 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.812e-05/0.1669, allocations: 31.73 kB / 492.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.1671, allocations: 95.66 kB / 492.5 MB, free: 2.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.1671, allocations: 0 / 492.5 MB, free: 2.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1671, allocations: 0 / 492.5 MB, free: 2.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1671, allocations: 0 / 492.5 MB, free: 2.816 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.0006916/0.1678, allocations: 415 kB / 492.9 MB, free: 2.363 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.1679, allocations: 15.89 kB / 492.9 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/0.168, allocations: 8.844 kB / 492.9 MB, free: 2.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.1684, allocations: 200 kB / 493.1 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.1684, allocations: 8.359 kB / 493.1 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.1684, allocations: 8.125 kB / 493.1 MB, free: 2.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1686, allocations: 41.69 kB / 493.2 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.1686, allocations: 7.938 kB / 493.2 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1687, allocations: 7.984 kB / 493.2 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1687, allocations: 7.922 kB / 493.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.234e-05/0.1687, allocations: 12 kB / 493.2 MB, free: 2.008 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.169, allocations: 177.7 kB / 493.4 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1692, allocations: 50.61 kB / 493.4 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.217e-05/0.1693, allocations: 24.8 kB / 493.5 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.1693, allocations: 3.984 kB / 493.5 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.1695, allocations: 79.23 kB / 493.6 MB, free: 1.605 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.1695, allocations: 0 / 493.6 MB, free: 1.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003181/0.1698, allocations: 89.58 kB / 493.6 MB, free: 1.512 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.1699, allocations: 51.41 kB / 493.7 MB, free: 1.449 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.1701, allocations: 186.2 kB / 493.9 MB, free: 1.258 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.1702, allocations: 29.7 kB / 493.9 MB, free: 1.223 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.1702, allocations: 96.14 kB / 494 MB, free: 1.125 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.1703, allocations: 11.89 kB / 494 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.1703, allocations: 17.72 kB / 494 MB, free: 1.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1705, allocations: 326.8 kB / 494.3 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.365e-05/0.1706, allocations: 19.88 kB / 494.4 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.4e-05/0.1706, allocations: 29.69 kB / 494.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1708, allocations: 49.7 kB / 494.4 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1708, allocations: 0 / 494.4 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001606/0.1709, allocations: 85.38 kB / 494.5 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.171, allocations: 4 kB / 494.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.171, allocations: 4 kB / 494.5 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.171, allocations: 0 / 494.5 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.053e-05/0.1711, allocations: 11.98 kB / 494.5 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.1711, allocations: 0 / 494.5 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.1712, allocations: 11.97 kB / 494.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.1712, allocations: 4 kB / 494.6 MB, free: 0.5273 MB / 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 (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.0001357/0.1713, allocations: 137.6 kB / 494.7 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.1714, allocations: 7.906 kB / 494.7 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.616e-05/0.1714, allocations: 12.31 kB / 494.7 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1714, allocations: 0 / 494.7 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1714, allocations: 0 / 494.7 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1714, allocations: 0 / 494.7 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.1716, allocations: 189.5 kB / 494.9 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1717, allocations: 4 kB / 494.9 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/0.1717, allocations: 8.312 kB / 494.9 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1717, allocations: 0 / 494.9 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1717, allocations: 4 kB / 494.9 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1717, allocations: 160 / 494.9 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1717, allocations: 0 / 494.9 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.172, allocations: 109 kB / 495 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/0.172, allocations: 84.95 kB / 495.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1721, allocations: 7.938 kB / 495.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.744e-05/0.1721, allocations: 7.984 kB / 495.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.1722, allocations: 3.938 kB / 495.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.1722, allocations: 4 kB / 495.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.1723, allocations: 144 kB / 495.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1723, allocations: 0 / 495.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.1726, allocations: 16 kB / 495.3 MB, free: 15.7 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.001116/0.1737, allocations: 419.6 kB / 495.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.1739, allocations: 39.98 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1739, allocations: 3.938 kB / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.77e-05/0.174, allocations: 23.92 kB / 495.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.1743, allocations: 27.78 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.1748, allocations: 198 kB / 496 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.1752, allocations: 0.7041 MB / 496.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.944e-05/0.1752, allocations: 12.55 kB / 496.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.1753, allocations: 11.44 kB / 496.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1753, allocations: 4 kB / 496.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of Templates: time 0.00476/0.18, allocations: 1.502 MB / 498.2 MB, free: 12.75 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1)