Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, 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.001671/0.001671, allocations: 192.5 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.656/1.656, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.36/0.36, allocations: 38 MB / 307.8 MB, free: 10.03 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.002093/0.002094, allocations: 71.89 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1644, allocations: 56.46 MB / 431.7 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.004218/0.1686, allocations: 1.681 MB / 433.4 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.1706, allocations: 0.8052 MB / 434.2 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.1708, allocations: 4 kB / 434.2 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005269/0.1713, allocations: 47.77 kB / 434.2 MB, free: 4.059 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.0003329/0.1717, allocations: 51.75 kB / 434.3 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.172, allocations: 79.77 kB / 434.4 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.1723, allocations: 95.69 kB / 434.5 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.1725, allocations: 20.2 kB / 434.5 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.1726, allocations: 39.8 kB / 434.5 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.1728, allocations: 31.78 kB / 434.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.1728, allocations: 4 kB / 434.6 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.1729, allocations: 43.98 kB / 434.6 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.241e-05/0.173, allocations: 19.92 kB / 434.6 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.451e-05/0.1731, allocations: 31.75 kB / 434.7 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.1734, allocations: 115.9 kB / 434.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.1735, allocations: 0 / 434.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1735, allocations: 0 / 434.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1735, allocations: 0 / 434.8 MB, free: 3.535 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.0009016/0.1744, allocations: 422.9 kB / 435.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.1745, allocations: 11.89 kB / 435.2 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.286e-05/0.1745, allocations: 8.844 kB / 435.2 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.1749, allocations: 208.8 kB / 435.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.1749, allocations: 384 / 435.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.175, allocations: 12.12 kB / 435.4 MB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.1752, allocations: 49.67 kB / 435.5 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.1752, allocations: 3.938 kB / 435.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.1752, allocations: 8 kB / 435.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.1753, allocations: 0 / 435.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.32e-05/0.1754, allocations: 23.92 kB / 435.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.1759, allocations: 288.8 kB / 435.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.1762, allocations: 58.66 kB / 435.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/0.1763, allocations: 28.84 kB / 435.9 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.1763, allocations: 0 / 435.9 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003513/0.1767, allocations: 71.33 kB / 435.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1767, allocations: 0 / 435.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000733/0.1774, allocations: 181.1 kB / 436.1 MB, free: 2.016 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1775, allocations: 51.41 kB / 436.2 MB, free: 1.953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.1777, allocations: 195.3 kB / 436.4 MB, free: 1.754 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1777, allocations: 29.7 kB / 436.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.214e-05/0.1778, allocations: 100.1 kB / 436.5 MB, free: 1.617 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.1778, allocations: 23.7 kB / 436.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.1778, allocations: 25.66 kB / 436.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.178, allocations: 330.8 kB / 436.9 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.096e-05/0.1781, allocations: 23.98 kB / 436.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.824e-05/0.1781, allocations: 41.7 kB / 436.9 MB, free: 1.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.1783, allocations: 57.64 kB / 437 MB, free: 1.098 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1783, allocations: 0 / 437 MB, free: 1.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001914/0.1785, allocations: 97.58 kB / 437.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1785, allocations: 8 kB / 437.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1785, allocations: 0 / 437.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1785, allocations: 0 / 437.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.801e-05/0.1786, allocations: 19.92 kB / 437.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.1786, allocations: 12.17 kB / 437.1 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.1787, allocations: 7.844 kB / 437.1 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1787, allocations: 4 kB / 437.1 MB, free: 0.9453 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.0001154/0.1788, allocations: 129.8 kB / 437.3 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.1789, allocations: 11.91 kB / 437.3 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/0.1789, allocations: 17.39 kB / 437.3 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1789, allocations: 0 / 437.3 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.1789, allocations: 0 / 437.3 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.179, allocations: 7.938 kB / 437.3 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.1794, allocations: 391.3 kB / 437.7 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1794, allocations: 0 / 437.7 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.973e-05/0.1794, allocations: 8 kB / 437.7 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1794, allocations: 7.938 kB / 437.7 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1795, allocations: 7.922 kB / 437.7 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1795, allocations: 0 / 437.7 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1795, allocations: 0 / 437.7 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.1797, allocations: 212.2 kB / 437.9 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.113e-05/0.1798, allocations: 81.39 kB / 438 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.1798, allocations: 11.94 kB / 438 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.1799, allocations: 4 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.18, allocations: 7.984 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.18, allocations: 4 kB / 438 MB, free: 15.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001536/0.1802, allocations: 160.9 kB / 438.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1802, allocations: 0 / 438.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002946/0.1805, allocations: 24 kB / 438.2 MB, free: 15.77 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.00153/0.182, allocations: 480.7 kB / 438.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.1823, allocations: 55.92 kB / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1823, allocations: 0 / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.1824, allocations: 31.98 kB / 438.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.1828, allocations: 27.83 kB / 438.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/0.1835, allocations: 243.2 kB / 439 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.1839, allocations: 0.7044 MB / 439.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.774e-05/0.184, allocations: 16.88 kB / 439.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.184, allocations: 19.42 kB / 439.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.184, allocations: 0 / 439.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of Templates: time 0.005406/0.1894, allocations: 1.692 MB / 441.4 MB, free: 12.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1)