Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, 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.001617/0.001617, allocations: 194.6 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.673/1.673, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.4311/0.4311, allocations: 39.94 MB / 309.7 MB, free: 9.262 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.001601/0.001601, allocations: 68.52 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.163, allocations: 56.89 MB / 434.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.004033/0.1671, allocations: 1.689 MB / 436.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1685, allocations: 0.8016 MB / 437 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.061e-05/0.1686, allocations: 0 / 437 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.169, allocations: 51.75 kB / 437 MB, free: 1.105 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.0002656/0.1692, allocations: 51.75 kB / 437.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1695, allocations: 79.78 kB / 437.2 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.1697, allocations: 95.69 kB / 437.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1698, allocations: 16.2 kB / 437.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.204e-05/0.1699, allocations: 39.8 kB / 437.3 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.889e-05/0.17, allocations: 31.78 kB / 437.4 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.17, allocations: 4 kB / 437.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1701, allocations: 43.98 kB / 437.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-05/0.1702, allocations: 23.92 kB / 437.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.404e-05/0.1703, allocations: 43.67 kB / 437.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.1705, allocations: 119.9 kB / 437.6 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1705, allocations: 0 / 437.6 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1705, allocations: 3.938 kB / 437.6 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1705, allocations: 0 / 437.6 MB, free: 0.5625 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.0006962/0.1712, allocations: 426.8 kB / 438 MB, free: 100 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.1713, allocations: 19.83 kB / 438 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.1714, allocations: 8.844 kB / 438 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.1717, allocations: 212 kB / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1717, allocations: 4.375 kB / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.1717, allocations: 8.125 kB / 438.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1719, allocations: 57.67 kB / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1719, allocations: 0 / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.172, allocations: 0 / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.172, allocations: 0 / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.314e-05/0.1721, allocations: 23.92 kB / 438.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.1726, allocations: 296.8 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.1728, allocations: 58.67 kB / 438.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.014e-05/0.1729, allocations: 20.86 kB / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.1729, allocations: 0 / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.1731, allocations: 75.31 kB / 438.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.1731, allocations: 4 kB / 438.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006144/0.1737, allocations: 169.1 kB / 438.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.1738, allocations: 51.41 kB / 439 MB, free: 14.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.174, allocations: 223.5 kB / 439.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.1741, allocations: 25.7 kB / 439.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.1742, allocations: 108.1 kB / 439.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.1742, allocations: 27.64 kB / 439.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.1742, allocations: 21.72 kB / 439.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1744, allocations: 334.8 kB / 439.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.023e-05/0.1745, allocations: 23.98 kB / 439.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.506e-05/0.1745, allocations: 33.7 kB / 439.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1746, allocations: 69.62 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1747, allocations: 0 / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001981/0.1749, allocations: 101.6 kB / 439.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1749, allocations: 8 kB / 439.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1749, allocations: 0 / 439.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1749, allocations: 0 / 439.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.175, allocations: 19.92 kB / 440 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.1751, allocations: 4.188 kB / 440 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.1751, allocations: 11.88 kB / 440 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1751, allocations: 7.938 kB / 440 MB, free: 13.92 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.0001177/0.1753, allocations: 129.6 kB / 440.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.1753, allocations: 15.94 kB / 440.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.021e-05/0.1753, allocations: 25.38 kB / 440.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.1754, allocations: 0 / 440.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1754, allocations: 384 / 440.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1754, allocations: 3.938 kB / 440.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.1758, allocations: 399.2 kB / 440.6 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1758, allocations: 4 kB / 440.6 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.1759, allocations: 11.98 kB / 440.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1759, allocations: 7.969 kB / 440.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1759, allocations: 3.938 kB / 440.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1759, allocations: 4 kB / 440.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1759, allocations: 0 / 440.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.1762, allocations: 196.3 kB / 440.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.1762, allocations: 88.92 kB / 440.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.1763, allocations: 7.938 kB / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.1763, allocations: 11.98 kB / 440.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.1764, allocations: 4 kB / 440.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.1764, allocations: 0 / 440.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.1766, allocations: 175.5 kB / 441.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1766, allocations: 0 / 441.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1768, allocations: 24 kB / 441.1 MB, free: 12.72 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.00115/0.178, allocations: 465.1 kB / 441.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.1782, allocations: 63.91 kB / 441.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1782, allocations: 0 / 441.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.479e-05/0.1783, allocations: 31.92 kB / 441.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1787, allocations: 31.55 kB / 441.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.1793, allocations: 266.8 kB / 441.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.1796, allocations: 0.7119 MB / 442.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.135e-05/0.1797, allocations: 20.86 kB / 442.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.1797, allocations: 15.44 kB / 442.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1797, allocations: 0 / 442.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of Templates: time 0.005666/0.1854, allocations: 1.712 MB / 444.4 MB, free: 9.398 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1)