Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.00129/0.00129, allocations: 108 kB / 15.61 MB, free: 148 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.001241/0.001241, allocations: 194.1 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.702/1.702, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.4267/0.4267, allocations: 39.94 MB / 309.7 MB, free: 9.297 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.001975/0.001975, allocations: 74.39 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1675, allocations: 56.88 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003703/0.1712, allocations: 1.685 MB / 436.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1727, allocations: 0.8016 MB / 437 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.683e-05/0.1728, allocations: 0 / 437 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.1731, allocations: 51.75 kB / 437 MB, free: 1.117 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.0002476/0.1734, allocations: 47.77 kB / 437.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.1737, allocations: 87.69 kB / 437.2 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1739, allocations: 91.7 kB / 437.3 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1741, allocations: 16.2 kB / 437.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.1742, allocations: 47.78 kB / 437.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.319e-05/0.1743, allocations: 27.86 kB / 437.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1743, allocations: 4 kB / 437.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1744, allocations: 39.98 kB / 437.4 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.1745, allocations: 23.91 kB / 437.4 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.615e-05/0.1746, allocations: 31.75 kB / 437.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.1749, allocations: 111.9 kB / 437.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1749, allocations: 7.938 kB / 437.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1749, allocations: 0 / 437.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1749, allocations: 0 / 437.6 MB, free: 0.5898 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.0006196/0.1755, allocations: 426.8 kB / 438 MB, free: 128 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1756, allocations: 15.89 kB / 438 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.1756, allocations: 8.844 kB / 438 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.1759, allocations: 220.7 kB / 438.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1759, allocations: 384 / 438.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.176, allocations: 8.125 kB / 438.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.1762, allocations: 53.67 kB / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1762, allocations: 0 / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1762, allocations: 0 / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1762, allocations: 4 kB / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.321e-05/0.1763, allocations: 23.92 kB / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.1768, allocations: 288.9 kB / 438.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.177, allocations: 58.67 kB / 438.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/0.177, allocations: 20.84 kB / 438.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.1771, allocations: 7.938 kB / 438.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/0.1773, allocations: 67.39 kB / 438.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1773, allocations: 0 / 438.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006009/0.1779, allocations: 177.1 kB / 438.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.178, allocations: 51.41 kB / 439 MB, free: 15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.1782, allocations: 195.3 kB / 439.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1782, allocations: 29.7 kB / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.1783, allocations: 100.1 kB / 439.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.1784, allocations: 23.7 kB / 439.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.1784, allocations: 21.72 kB / 439.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1785, allocations: 334.8 kB / 439.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.549e-05/0.1786, allocations: 19.98 kB / 439.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.167e-05/0.1787, allocations: 37.69 kB / 439.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.1788, allocations: 65.64 kB / 439.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1788, allocations: 7.938 kB / 439.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001933/0.179, allocations: 101.5 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1791, allocations: 4 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1791, allocations: 0 / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1791, allocations: 4 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1792, allocations: 20.17 kB / 439.9 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1792, allocations: 0 / 439.9 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.1793, allocations: 15.91 kB / 439.9 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.1793, allocations: 4 kB / 439.9 MB, free: 13.99 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.000116/0.1794, allocations: 129.8 kB / 440.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.1794, allocations: 7.906 kB / 440.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.1795, allocations: 21.39 kB / 440.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1795, allocations: 0 / 440.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1795, allocations: 0 / 440.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.1795, allocations: 3.938 kB / 440.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.18, allocations: 399.2 kB / 440.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.18, allocations: 0 / 440.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.1801, allocations: 12.31 kB / 440.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1801, allocations: 0 / 440.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.1801, allocations: 15.92 kB / 440.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1801, allocations: 0 / 440.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1801, allocations: 0 / 440.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1803, allocations: 200.3 kB / 440.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.1804, allocations: 88.92 kB / 440.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.1805, allocations: 3.938 kB / 440.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.1805, allocations: 7.984 kB / 440.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.1806, allocations: 11.94 kB / 440.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.1806, allocations: 4 kB / 440.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.1807, allocations: 152.9 kB / 441 MB, free: 12.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1807, allocations: 4 kB / 441 MB, free: 12.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.181, allocations: 16 kB / 441 MB, free: 12.82 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.001084/0.1821, allocations: 464.9 kB / 441.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.1823, allocations: 71.91 kB / 441.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1823, allocations: 3.938 kB / 441.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.928e-05/0.1824, allocations: 23.98 kB / 441.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1827, allocations: 40.12 kB / 441.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.1832, allocations: 227.3 kB / 441.8 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.1835, allocations: 0.7119 MB / 442.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.819e-05/0.1835, allocations: 8.891 kB / 442.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.1836, allocations: 23.42 kB / 442.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1836, allocations: 0 / 442.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of Templates: time 0.004828/0.1884, allocations: 1.693 MB / 444.2 MB, free: 9.543 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1)