Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, 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.002629/0.002629, allocations: 194 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.744/1.744, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.3964/0.3964, allocations: 39.94 MB / 309.7 MB, free: 9.34 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.001538/0.001538, allocations: 67.91 kB / 377.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1579, allocations: 56.89 MB / 434.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003724/0.1616, allocations: 1.689 MB / 436.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1638, allocations: 1.416 MB / 437.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.482e-05/0.1639, allocations: 0 / 437.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.1642, allocations: 31.77 kB / 437.6 MB, free: 0.5469 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.00025/0.1644, allocations: 55.7 kB / 437.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.1647, allocations: 87.75 kB / 437.8 MB, free: 416 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.1649, allocations: 95.7 kB / 437.9 MB, free: 320 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.165, allocations: 20.19 kB / 437.9 MB, free: 300 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.1651, allocations: 39.8 kB / 437.9 MB, free: 260 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.1652, allocations: 39.83 kB / 438 MB, free: 220 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.1653, allocations: 4 kB / 438 MB, free: 216 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.1655, allocations: 59.97 kB / 438 MB, free: 156 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.012e-05/0.1655, allocations: 23.86 kB / 438.1 MB, free: 132 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.805e-05/0.1656, allocations: 31.8 kB / 438.1 MB, free: 100 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.1658, allocations: 123.9 kB / 438.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1658, allocations: 0 / 438.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1659, allocations: 0 / 438.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1659, allocations: 4 kB / 438.2 MB, free: 15.97 MB / 382.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.000583/0.1665, allocations: 399.1 kB / 438.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.1665, allocations: 11.89 kB / 438.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.1666, allocations: 8.844 kB / 438.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.1669, allocations: 204.1 kB / 438.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.167, allocations: 12.25 kB / 438.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.167, allocations: 4.125 kB / 438.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.1672, allocations: 75.39 kB / 438.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1672, allocations: 0 / 438.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1672, allocations: 0 / 438.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1672, allocations: 0 / 438.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.507e-05/0.1673, allocations: 19.98 kB / 438.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.1677, allocations: 288.8 kB / 439.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1679, allocations: 62.61 kB / 439.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.168, allocations: 28.78 kB / 439.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.168, allocations: 0 / 439.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.1682, allocations: 71.39 kB / 439.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1682, allocations: 0 / 439.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005846/0.1688, allocations: 165.2 kB / 439.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.1689, allocations: 85.11 kB / 439.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1691, allocations: 145.8 kB / 439.8 MB, free: 14.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1691, allocations: 29.7 kB / 439.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.1691, allocations: 96.12 kB / 439.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.1692, allocations: 27.59 kB / 439.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.1692, allocations: 21.7 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1694, allocations: 326.8 kB / 440.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.856e-05/0.1694, allocations: 20 kB / 440.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.1695, allocations: 46.56 kB / 440.3 MB, free: 13.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.1697, allocations: 61.69 kB / 440.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1697, allocations: 0 / 440.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001778/0.1699, allocations: 97.52 kB / 440.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1699, allocations: 8 kB / 440.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1699, allocations: 64 / 440.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.17, allocations: 4 kB / 440.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.556e-05/0.1701, allocations: 15.94 kB / 440.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1701, allocations: 4.156 kB / 440.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.1701, allocations: 11.92 kB / 440.5 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1701, allocations: 4 kB / 440.5 MB, free: 13.41 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 9.802e-05/0.1702, allocations: 117.1 kB / 440.6 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.1703, allocations: 15.81 kB / 440.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/0.1703, allocations: 16.69 kB / 440.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1703, allocations: 8.188 kB / 440.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1703, allocations: 0 / 440.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1704, allocations: 7.875 kB / 440.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.1708, allocations: 387.3 kB / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1708, allocations: 0 / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/0.1709, allocations: 8 kB / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1709, allocations: 0 / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1709, allocations: 15.91 kB / 441.1 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1709, allocations: 4.031 kB / 441.1 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1709, allocations: 3.938 kB / 441.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.1712, allocations: 200.2 kB / 441.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.1712, allocations: 81.39 kB / 441.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.1712, allocations: 7.938 kB / 441.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.1713, allocations: 11.98 kB / 441.4 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.1714, allocations: 8 kB / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.1714, allocations: 4 kB / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1715, allocations: 118.9 kB / 441.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1715, allocations: 0 / 441.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1718, allocations: 35.98 kB / 441.5 MB, free: 12.28 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.001138/0.1729, allocations: 497.3 kB / 442 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.1732, allocations: 67.91 kB / 442.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1732, allocations: 0 / 442.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.085e-05/0.1733, allocations: 36.19 kB / 442.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.1736, allocations: 31.78 kB / 442.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.1741, allocations: 186.9 kB / 442.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.1746, allocations: 0.704 MB / 443 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.063e-05/0.1746, allocations: 12.88 kB / 443.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.1747, allocations: 23.36 kB / 443.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1747, allocations: 0 / 443.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of Templates: time 0.006396/0.1811, allocations: 1.944 MB / 445 MB, free: 8.762 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1)