Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001664, 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.001434/0.001434, allocations: 191.8 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.747/1.747, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.4624/0.4624, allocations: 39.94 MB / 309.7 MB, free: 9.293 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.001501/0.001501, allocations: 70.39 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1656, allocations: 56.89 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003469/0.1691, allocations: 1.685 MB / 436.2 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.1708, allocations: 0.8016 MB / 437 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.469e-05/0.1709, allocations: 0 / 437 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.1713, allocations: 99.72 kB / 437.1 MB, free: 1.078 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.000274/0.1716, allocations: 99.62 kB / 437.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.1719, allocations: 75.78 kB / 437.3 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.1721, allocations: 107.7 kB / 437.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1722, allocations: 16.2 kB / 437.4 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.34e-05/0.1723, allocations: 55.77 kB / 437.4 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.1724, allocations: 59.81 kB / 437.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.1724, allocations: 4 kB / 437.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.1725, allocations: 43.92 kB / 437.5 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.1726, allocations: 27.92 kB / 437.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.265e-05/0.1727, allocations: 43.67 kB / 437.6 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.1729, allocations: 123.8 kB / 437.7 MB, free: 444 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1729, allocations: 0 / 437.7 MB, free: 444 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1729, allocations: 0 / 437.7 MB, free: 444 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1729, allocations: 0 / 437.7 MB, free: 444 kB / 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.0006161/0.1736, allocations: 438.3 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1736, allocations: 11.89 kB / 438.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.1737, allocations: 16.75 kB / 438.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.1739, allocations: 224.7 kB / 438.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.174, allocations: 384 / 438.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.174, allocations: 8.125 kB / 438.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1742, allocations: 57.67 kB / 438.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1742, allocations: 0 / 438.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1742, allocations: 0 / 438.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1742, allocations: 0 / 438.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.237e-05/0.1743, allocations: 23.92 kB / 438.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.1748, allocations: 304.8 kB / 438.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.175, allocations: 58.67 kB / 438.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.175, allocations: 20.84 kB / 438.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1751, allocations: 0 / 438.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.1753, allocations: 75.39 kB / 438.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1753, allocations: 3.938 kB / 438.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005901/0.1759, allocations: 169.2 kB / 439.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.1759, allocations: 55.41 kB / 439.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.1763, allocations: 242.2 kB / 439.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1763, allocations: 25.7 kB / 439.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.1765, allocations: 112.1 kB / 439.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.1765, allocations: 23.7 kB / 439.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.1766, allocations: 25.72 kB / 439.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.1768, allocations: 334.8 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.842e-05/0.1769, allocations: 16 kB / 439.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.851e-05/0.1769, allocations: 33.7 kB / 440 MB, free: 13.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1771, allocations: 65.69 kB / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1771, allocations: 3.938 kB / 440 MB, free: 13.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001982/0.1773, allocations: 105.6 kB / 440.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1773, allocations: 4 kB / 440.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1773, allocations: 0 / 440.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1773, allocations: 0 / 440.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1775, allocations: 27.92 kB / 440.2 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.1775, allocations: 0 / 440.2 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.1775, allocations: 3.938 kB / 440.2 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.1775, allocations: 4.188 kB / 440.2 MB, free: 13.75 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.0001214/0.1777, allocations: 137.1 kB / 440.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.1777, allocations: 19.75 kB / 440.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.285e-05/0.1778, allocations: 21.39 kB / 440.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1778, allocations: 0 / 440.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.1778, allocations: 384 / 440.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.1778, allocations: 3.938 kB / 440.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.1783, allocations: 399.3 kB / 440.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.1783, allocations: 4 kB / 440.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.1784, allocations: 12.03 kB / 440.8 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1784, allocations: 3.938 kB / 440.8 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1784, allocations: 11.94 kB / 440.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1784, allocations: 0 / 440.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1784, allocations: 0 / 440.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.1787, allocations: 200.1 kB / 441 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.1787, allocations: 93 kB / 441.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.1788, allocations: 11.94 kB / 441.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.568e-05/0.1788, allocations: 0 / 441.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.1789, allocations: 7.984 kB / 441.1 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.1789, allocations: 4 kB / 441.1 MB, free: 12.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.1791, allocations: 184.3 kB / 441.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1791, allocations: 0 / 441.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1794, allocations: 24 kB / 441.3 MB, free: 12.54 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.001106/0.1805, allocations: 469.7 kB / 441.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.1807, allocations: 55.97 kB / 441.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1807, allocations: 3.938 kB / 441.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.54e-05/0.1808, allocations: 32.05 kB / 441.8 MB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.1811, allocations: 44.08 kB / 441.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005476/0.1817, allocations: 275.4 kB / 442.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.1822, allocations: 0.7117 MB / 442.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.317e-05/0.1823, allocations: 8.891 kB / 442.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.1823, allocations: 19.42 kB / 442.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1823, allocations: 3.938 kB / 442.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of Templates: time 0.005039/0.1874, allocations: 1.72 MB / 444.6 MB, free: 9.176 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1)