Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001683/0.001683, 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.002263/0.002263, allocations: 196.8 kB / 16.54 MB, free: 6.672 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.662/1.662, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3735/0.3735, allocations: 38 MB / 307.7 MB, free: 9.969 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.001838/0.001838, allocations: 67.91 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1603, allocations: 56.46 MB / 431.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.00442/0.1648, allocations: 1.673 MB / 433.4 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.1665, allocations: 0.8169 MB / 434.2 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.806e-05/0.1666, allocations: 0 / 434.2 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004002/0.1671, allocations: 87.7 kB / 434.3 MB, free: 4.016 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.0002778/0.1673, allocations: 67.73 kB / 434.4 MB, free: 3.949 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.1676, allocations: 91.62 kB / 434.4 MB, free: 3.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.1678, allocations: 107.7 kB / 434.5 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1679, allocations: 12.22 kB / 434.6 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.168, allocations: 55.78 kB / 434.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1682, allocations: 55.81 kB / 434.7 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.1682, allocations: 4 kB / 434.7 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1683, allocations: 39.97 kB / 434.7 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.539e-05/0.1684, allocations: 19.92 kB / 434.7 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.1684, allocations: 31.75 kB / 434.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.1686, allocations: 127.9 kB / 434.9 MB, free: 3.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1687, allocations: 0 / 434.9 MB, free: 3.414 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1687, allocations: 3.938 kB / 434.9 MB, free: 3.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1687, allocations: 0 / 434.9 MB, free: 3.41 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.0005972/0.1693, allocations: 422.9 kB / 435.3 MB, free: 2.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1693, allocations: 11.89 kB / 435.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.1694, allocations: 8.844 kB / 435.3 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.1696, allocations: 208 kB / 435.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1696, allocations: 8.359 kB / 435.5 MB, free: 2.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.487e-05/0.1697, allocations: 8.125 kB / 435.5 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1698, allocations: 49.67 kB / 435.6 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1699, allocations: 0 / 435.6 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1699, allocations: 15.94 kB / 435.6 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.1699, allocations: 0 / 435.6 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.351e-05/0.17, allocations: 15.98 kB / 435.6 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.1704, allocations: 284.9 kB / 435.9 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.1706, allocations: 62.66 kB / 436 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.1706, allocations: 24.8 kB / 436 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1707, allocations: 0 / 436 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/0.171, allocations: 71.39 kB / 436.1 MB, free: 2.078 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.171, allocations: 0 / 436.1 MB, free: 2.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006026/0.1716, allocations: 181 kB / 436.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.1716, allocations: 55.41 kB / 436.3 MB, free: 1.828 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.1719, allocations: 219.1 kB / 436.5 MB, free: 1.605 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.1719, allocations: 29.7 kB / 436.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.156e-05/0.172, allocations: 100.1 kB / 436.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.1721, allocations: 27.58 kB / 436.7 MB, free: 1.441 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.1721, allocations: 25.72 kB / 436.7 MB, free: 1.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.1724, allocations: 330.8 kB / 437 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.235e-05/0.1724, allocations: 20 kB / 437 MB, free: 1.059 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.892e-05/0.1725, allocations: 37.64 kB / 437.1 MB, free: 1.016 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1727, allocations: 65.64 kB / 437.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1727, allocations: 384 / 437.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001959/0.1729, allocations: 101.6 kB / 437.2 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1729, allocations: 8 kB / 437.2 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1729, allocations: 0 / 437.2 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.173, allocations: 3.984 kB / 437.2 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1731, allocations: 16 kB / 437.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1731, allocations: 8.031 kB / 437.3 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.1731, allocations: 3.938 kB / 437.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1732, allocations: 8 kB / 437.3 MB, free: 0.793 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 (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.0001251/0.1733, allocations: 125.8 kB / 437.4 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.1733, allocations: 11.81 kB / 437.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.242e-05/0.1734, allocations: 17.39 kB / 437.4 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1734, allocations: 7.938 kB / 437.4 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1734, allocations: 0 / 437.4 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.1734, allocations: 3.938 kB / 437.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006571/0.1741, allocations: 391.4 kB / 437.8 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1741, allocations: 3.938 kB / 437.8 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.1741, allocations: 15.98 kB / 437.8 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1741, allocations: 0 / 437.8 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.1742, allocations: 7.938 kB / 437.8 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1742, allocations: 0 / 437.8 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1742, allocations: 0 / 437.8 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.1744, allocations: 204.2 kB / 438 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.1745, allocations: 89.02 kB / 438.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.1745, allocations: 7.922 kB / 438.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-05/0.1746, allocations: 4 kB / 438.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.1747, allocations: 7.938 kB / 438.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.1747, allocations: 11.98 kB / 438.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.1748, allocations: 159.2 kB / 438.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1748, allocations: 0 / 438.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1751, allocations: 24.19 kB / 438.3 MB, free: 15.61 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.001121/0.1762, allocations: 465.2 kB / 438.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.1764, allocations: 63.91 kB / 438.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1764, allocations: 0 / 438.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.963e-05/0.1765, allocations: 31.98 kB / 438.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.177, allocations: 36.08 kB / 438.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.1774, allocations: 247 kB / 439.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.1778, allocations: 0.708 MB / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.34e-05/0.1779, allocations: 12.89 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.1779, allocations: 23.42 kB / 439.9 MB, free: 14.01 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1779, allocations: 0 / 439.9 MB, free: 14.01 MB / 382.1 MB Notification: Performance of Templates: time 0.005015/0.183, allocations: 1.696 MB / 441.6 MB, free: 12.32 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)