Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, 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.00132/0.001321, allocations: 198.3 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.681/1.681, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.4297/0.4297, allocations: 39.95 MB / 309.7 MB, free: 9.254 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.001848/0.001849, allocations: 79.88 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1625, allocations: 56.87 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.005299/0.1678, allocations: 2.305 MB / 436.8 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.1702, allocations: 1.166 MB / 438 MB, free: 184 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.1704, allocations: 4 kB / 438 MB, free: 180 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006422/0.1711, allocations: 295.1 kB / 438.3 MB, free: 15.88 MB / 382.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.0005344/0.1716, allocations: 266.9 kB / 438.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.1724, allocations: 323.3 kB / 438.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000563/0.173, allocations: 0.5062 MB / 439.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.1732, allocations: 61.34 kB / 439.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.1736, allocations: 231 kB / 439.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003992/0.174, allocations: 263 kB / 439.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.056e-05/0.174, allocations: 16 kB / 439.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002553/0.1743, allocations: 51.98 kB / 440 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.1745, allocations: 103.5 kB / 440.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.1747, allocations: 174.8 kB / 440.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.1752, allocations: 402.4 kB / 440.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1753, allocations: 0 / 440.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.1753, allocations: 0 / 440.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.1753, allocations: 3.984 kB / 440.6 MB, free: 13.51 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001415/0.1767, allocations: 0.7548 MB / 441.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.1768, allocations: 15.89 kB / 441.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.1769, allocations: 56.27 kB / 441.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006044/0.1775, allocations: 399.9 kB / 441.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.1775, allocations: 12.38 kB / 441.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.1776, allocations: 20.11 kB / 441.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.178, allocations: 201.8 kB / 442.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.1781, allocations: 7.922 kB / 442.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.1781, allocations: 12 kB / 442.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1781, allocations: 0 / 442.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.1784, allocations: 95.86 kB / 442.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.1795, allocations: 0.8565 MB / 443 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.1801, allocations: 289.3 kB / 443.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.1803, allocations: 96.25 kB / 443.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.1803, allocations: 11.98 kB / 443.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005284/0.1809, allocations: 228.2 kB / 443.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.342e-06/0.1809, allocations: 3.938 kB / 443.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002054/0.1829, allocations: 0.9688 MB / 444.6 MB, free: 9.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.1831, allocations: 162.2 kB / 444.8 MB, free: 9.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.1838, allocations: 0.6121 MB / 445.4 MB, free: 8.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.1838, allocations: 45.69 kB / 445.4 MB, free: 8.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.184, allocations: 217 kB / 445.6 MB, free: 8.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.1841, allocations: 122.4 kB / 445.8 MB, free: 8.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.1842, allocations: 70.12 kB / 445.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1843, allocations: 366.8 kB / 446.2 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.1846, allocations: 104.8 kB / 446.3 MB, free: 7.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.1849, allocations: 180.8 kB / 446.5 MB, free: 7.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/0.1854, allocations: 301.3 kB / 446.8 MB, free: 6.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1854, allocations: 0 / 446.8 MB, free: 6.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006909/0.1861, allocations: 408.6 kB / 447.2 MB, free: 6.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1861, allocations: 4 kB / 447.2 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.1861, allocations: 11.92 kB / 447.2 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.1861, allocations: 7.984 kB / 447.2 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.1865, allocations: 87.84 kB / 447.3 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.1865, allocations: 4 kB / 447.3 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.1867, allocations: 23.92 kB / 447.3 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.1867, allocations: 20.16 kB / 447.3 MB, free: 6.395 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002233/0.1869, allocations: 204.3 kB / 447.5 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.187, allocations: 59.19 kB / 447.6 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.1872, allocations: 63.91 kB / 447.6 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.1872, allocations: 4 kB / 447.6 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.1872, allocations: 4 kB / 447.6 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.1872, allocations: 3.984 kB / 447.6 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.1887, allocations: 1.265 MB / 448.9 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1887, allocations: 0 / 448.9 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.1889, allocations: 51.92 kB / 449 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.1889, allocations: 7.984 kB / 449 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.1889, allocations: 15.94 kB / 449 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.1889, allocations: 7.938 kB / 449 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1889, allocations: 0 / 449 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009024/0.1898, allocations: 0.8122 MB / 449.8 MB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.1899, allocations: 128.5 kB / 449.9 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.19, allocations: 19.86 kB / 450 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.1903, allocations: 19.98 kB / 450 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/0.1904, allocations: 31.97 kB / 450 MB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.1905, allocations: 19.98 kB / 450 MB, free: 3.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004672/0.191, allocations: 454.8 kB / 450.5 MB, free: 3.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.191, allocations: 0 / 450.5 MB, free: 3.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005257/0.1915, allocations: 87.98 kB / 450.6 MB, free: 3.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001141/0.1926, allocations: 493.3 kB / 451 MB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006822/0.1933, allocations: 311.5 kB / 451.3 MB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1934, allocations: 0 / 451.3 MB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.1936, allocations: 144.7 kB / 451.5 MB, free: 2.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.1947, allocations: 155.2 kB / 451.6 MB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.196, allocations: 0.869 MB / 452.5 MB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.1965, allocations: 0.8512 MB / 453.4 MB, free: 164 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002438/0.1967, allocations: 87.38 kB / 453.4 MB, free: 76 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.1968, allocations: 55.36 kB / 453.5 MB, free: 20 kB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1968, allocations: 0 / 453.5 MB, free: 20 kB / 382.1 MB Notification: Performance of Templates: time 0.2581/0.455, allocations: 5.631 MB / 459.1 MB, free: 50.7 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)