Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00153/0.00153, allocations: 170.1 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.429/1.429, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00154/0.00154, allocations: 106.8 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1866/0.1866, allocations: 37.98 MB / 300.4 MB, free: 5.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.174e-05, allocations: 11.98 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0908/0.09085, allocations: 48.7 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3719/0.4628, allocations: 75.73 MB / 481.4 MB, free: 18.58 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4631, allocations: 70.66 kB / 481.5 MB, free: 18.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01126/0.4744, allocations: 3.964 MB / 485.5 MB, free: 18.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4744, allocations: 0 / 485.5 MB, free: 18.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.4745, allocations: 0 / 485.5 MB, free: 18.07 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004948/0.475, allocations: 418.3 kB / 485.9 MB, free: 17.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.475, allocations: 7.75 kB / 485.9 MB, free: 17.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.4751, allocations: 7.812 kB / 485.9 MB, free: 17.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.4753, allocations: 200.1 kB / 486.1 MB, free: 17.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.4754, allocations: 7.938 kB / 486.1 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.4754, allocations: 7.797 kB / 486.1 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.241e-05/0.4755, allocations: 45.42 kB / 486.2 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4755, allocations: 0 / 486.2 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4755, allocations: 0 / 486.2 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4755, allocations: 1.828 kB / 486.2 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/0.4756, allocations: 21.38 kB / 486.2 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.476, allocations: 291.9 kB / 486.5 MB, free: 17.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.4762, allocations: 49.39 kB / 486.5 MB, free: 17.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.4763, allocations: 15.92 kB / 486.5 MB, free: 17.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.4763, allocations: 1.734 kB / 486.5 MB, free: 17.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/0.4764, allocations: 56.47 kB / 486.6 MB, free: 17.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.4764, allocations: 0 / 486.6 MB, free: 17.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000346/0.4768, allocations: 110.8 kB / 486.7 MB, free: 16.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.4768, allocations: 59.34 kB / 486.7 MB, free: 16.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.4769, allocations: 168.4 kB / 486.9 MB, free: 16.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.477, allocations: 31.66 kB / 486.9 MB, free: 16.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.477, allocations: 100.1 kB / 487 MB, free: 16.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.477, allocations: 9.484 kB / 487.1 MB, free: 16.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.477, allocations: 3.875 kB / 487.1 MB, free: 16.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.4771, allocations: 322.2 kB / 487.4 MB, free: 16.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.4771, allocations: 18.66 kB / 487.4 MB, free: 16.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.4772, allocations: 29.78 kB / 487.4 MB, free: 16.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.52e-05/0.4773, allocations: 53.11 kB / 487.5 MB, free: 16.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4773, allocations: 0 / 487.5 MB, free: 16.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001477/0.4774, allocations: 133.7 kB / 487.6 MB, free: 16.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.4775, allocations: 35.41 kB / 487.6 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4775, allocations: 0 / 487.6 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4775, allocations: 3.938 kB / 487.6 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.165e-05/0.4775, allocations: 13.2 kB / 487.7 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.4775, allocations: 0 / 487.7 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.816e-05/0.4776, allocations: 3.938 kB / 487.7 MB, free: 16.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.4776, allocations: 13.72 kB / 487.7 MB, free: 16.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.64e-05/0.4777, allocations: 112.5 kB / 487.8 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.4777, allocations: 7.75 kB / 487.8 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.4779, allocations: 93.14 kB / 487.9 MB, free: 16.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4779, allocations: 0 / 487.9 MB, free: 16.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4779, allocations: 0 / 487.9 MB, free: 16.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4779, allocations: 0 / 487.9 MB, free: 16.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.4782, allocations: 361.8 kB / 488.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4782, allocations: 192 / 488.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.4782, allocations: 11.66 kB / 488.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.4782, allocations: 2.016 kB / 488.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.4782, allocations: 0 / 488.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4783, allocations: 3.906 kB / 488.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4783, allocations: 144 / 488.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.4784, allocations: 184.7 kB / 488.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.4784, allocations: 94.97 kB / 488.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.4785, allocations: 3.938 kB / 488.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.823e-05/0.4785, allocations: 3.875 kB / 488.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.4786, allocations: 5.828 kB / 488.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.4786, allocations: 3.875 kB / 488.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.222e-05/0.4787, allocations: 141.1 kB / 488.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4787, allocations: 0 / 488.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.4789, allocations: 41.39 kB / 488.7 MB, free: 15.44 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006395/0.4796, allocations: 329.6 kB / 489 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.4797, allocations: 105.5 kB / 489.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4797, allocations: 3.938 kB / 489.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.624e-05/0.4798, allocations: 19.25 kB / 489.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.48, allocations: 19.41 kB / 489.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.4803, allocations: 145.2 kB / 489.3 MB, free: 15.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.4804, allocations: 0.7042 MB / 490 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.814e-05/0.4805, allocations: 22 kB / 490 MB, free: 14.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.4805, allocations: 11.31 kB / 490.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4805, allocations: 0 / 490.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of Templates: time 0.003815/0.4843, allocations: 1.532 MB / 491.6 MB, free: 14.19 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)