Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, 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.001703/0.001704, allocations: 193.6 kB / 16.53 MB, free: 6.699 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.789/1.789, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.4123/0.4123, allocations: 39.94 MB / 309.7 MB, free: 9.336 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.001777/0.001777, allocations: 79.89 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1662, allocations: 56.88 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003808/0.1701, allocations: 1.689 MB / 436.2 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1715, allocations: 0.8055 MB / 437 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1716, allocations: 4 kB / 437 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.1722, allocations: 43.83 kB / 437 MB, free: 1.133 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.0003591/0.1725, allocations: 67.62 kB / 437.1 MB, free: 1.066 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.1729, allocations: 79.75 kB / 437.2 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.1732, allocations: 99.69 kB / 437.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.1733, allocations: 12.22 kB / 437.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.929e-05/0.1734, allocations: 39.8 kB / 437.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.96e-05/0.1735, allocations: 23.86 kB / 437.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.1735, allocations: 7.984 kB / 437.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.1737, allocations: 51.92 kB / 437.4 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.226e-05/0.1738, allocations: 35.84 kB / 437.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.1738, allocations: 35.69 kB / 437.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.1741, allocations: 139.8 kB / 437.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1741, allocations: 0 / 437.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1741, allocations: 0 / 437.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.1741, allocations: 0 / 437.6 MB, free: 0.5508 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.0007092/0.1748, allocations: 434.7 kB / 438 MB, free: 80 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.1749, allocations: 15.89 kB / 438.1 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.1749, allocations: 16.75 kB / 438.1 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.1752, allocations: 224.9 kB / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.1753, allocations: 8.312 kB / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.1753, allocations: 8.125 kB / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1755, allocations: 53.67 kB / 438.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.1755, allocations: 0 / 438.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1755, allocations: 0 / 438.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1756, allocations: 0 / 438.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.729e-05/0.1756, allocations: 19.98 kB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.1762, allocations: 312.8 kB / 438.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1764, allocations: 54.67 kB / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.1764, allocations: 20.86 kB / 438.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1765, allocations: 0 / 438.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.1767, allocations: 71.38 kB / 438.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.938e-06/0.1767, allocations: 0 / 438.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000652/0.1774, allocations: 181 kB / 439 MB, free: 14.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.1774, allocations: 51.41 kB / 439.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.1777, allocations: 276.8 kB / 439.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.1778, allocations: 33.7 kB / 439.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.1779, allocations: 112.1 kB / 439.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.1779, allocations: 27.66 kB / 439.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.178, allocations: 25.7 kB / 439.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1781, allocations: 334.8 kB / 439.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-05/0.1782, allocations: 19.98 kB / 439.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.446e-05/0.1783, allocations: 41.64 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.1784, allocations: 57.7 kB / 440 MB, free: 13.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1784, allocations: 4 kB / 440 MB, free: 13.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001771/0.1786, allocations: 105.4 kB / 440.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.1786, allocations: 4 kB / 440.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1786, allocations: 4 kB / 440.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1786, allocations: 0 / 440.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1787, allocations: 19.92 kB / 440.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1788, allocations: 4.141 kB / 440.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.992e-05/0.1788, allocations: 11.94 kB / 440.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1788, allocations: 4.375 kB / 440.1 MB, free: 13.8 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.0001269/0.179, allocations: 141.1 kB / 440.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.179, allocations: 11.81 kB / 440.3 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.037e-05/0.1791, allocations: 21.39 kB / 440.3 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1791, allocations: 7.938 kB / 440.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.1791, allocations: 4 kB / 440.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1791, allocations: 3.938 kB / 440.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.1796, allocations: 407.2 kB / 440.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1796, allocations: 4.031 kB / 440.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.903e-05/0.1796, allocations: 8 kB / 440.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1796, allocations: 0 / 440.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1796, allocations: 7.938 kB / 440.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1796, allocations: 0 / 440.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1796, allocations: 0 / 440.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.1799, allocations: 212.2 kB / 440.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.1799, allocations: 88.92 kB / 441 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.18, allocations: 3.938 kB / 441 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.71e-05/0.18, allocations: 4 kB / 441 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.1801, allocations: 7.984 kB / 441 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.1801, allocations: 4 kB / 441 MB, free: 12.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.1803, allocations: 208.5 kB / 441.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1803, allocations: 4 kB / 441.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1806, allocations: 24 kB / 441.3 MB, free: 12.55 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.001089/0.1817, allocations: 465.5 kB / 441.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.1819, allocations: 55.97 kB / 441.8 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1819, allocations: 64 / 441.8 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.546e-05/0.182, allocations: 43.91 kB / 441.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.1823, allocations: 31.11 kB / 441.9 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/0.1828, allocations: 299.7 kB / 442.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.1832, allocations: 0.7197 MB / 442.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.199e-05/0.1832, allocations: 17.19 kB / 442.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.1833, allocations: 19.42 kB / 442.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of SimCode: time 1.784e-06/0.1833, allocations: 0 / 442.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of Templates: time 0.004775/0.188, allocations: 1.735 MB / 444.6 MB, free: 9.152 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)