Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009732/0.009732, allocations: 166.5 kB / 15.11 MB, free: 5.973 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.402/1.402, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001659/0.001659, allocations: 107.3 kB / 226.2 MB, free: 10.11 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.3406/0.3406, allocations: 38.05 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003815, allocations: 16 kB / 362.9 MB, free: 5.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1264, allocations: 48.69 MB / 411.6 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.367/0.4935, allocations: 75.87 MB / 487.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.4938, allocations: 74.95 kB / 487.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01031/0.5041, allocations: 4.375 MB / 491.9 MB, free: 8.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5042, allocations: 0 / 491.9 MB, free: 8.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.5042, allocations: 4 kB / 491.9 MB, free: 8.18 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.0004455/0.5046, allocations: 464.1 kB / 492.4 MB, free: 7.684 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.268e-05/0.5047, allocations: 8.031 kB / 492.4 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.666e-05/0.5048, allocations: 11.16 kB / 492.4 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.505, allocations: 225.8 kB / 492.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.5051, allocations: 0 / 492.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.5051, allocations: 4 kB / 492.6 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.5052, allocations: 48.42 kB / 492.6 MB, free: 7.363 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.5052, allocations: 0 / 492.6 MB, free: 7.363 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.5052, allocations: 0 / 492.6 MB, free: 7.363 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.5053, allocations: 8 kB / 492.7 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.196e-05/0.5053, allocations: 12.47 kB / 492.7 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.5057, allocations: 308.4 kB / 493 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.5059, allocations: 46.19 kB / 493 MB, free: 6.973 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.5059, allocations: 0 / 493 MB, free: 6.973 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.506, allocations: 62.98 kB / 493.1 MB, free: 6.902 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.5061, allocations: 3.984 kB / 493.1 MB, free: 6.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003982/0.5065, allocations: 123.3 kB / 493.2 MB, free: 6.789 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.5065, allocations: 59.39 kB / 493.3 MB, free: 6.719 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.5067, allocations: 227 kB / 493.5 MB, free: 6.527 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.5067, allocations: 29.08 kB / 493.5 MB, free: 6.496 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.5068, allocations: 109.4 kB / 493.6 MB, free: 6.402 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.5068, allocations: 22.86 kB / 493.6 MB, free: 6.383 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.5068, allocations: 7.938 kB / 493.6 MB, free: 6.375 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.118e-05/0.5069, allocations: 329.5 kB / 494 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.223e-05/0.507, allocations: 23.06 kB / 494 MB, free: 6.035 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.266e-05/0.507, allocations: 26.92 kB / 494 MB, free: 6.016 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.764e-05/0.5071, allocations: 59.12 kB / 494.1 MB, free: 5.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.5071, allocations: 0 / 494.1 MB, free: 5.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001591/0.5073, allocations: 139.8 kB / 494.2 MB, free: 5.836 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.5073, allocations: 33.69 kB / 494.2 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.5073, allocations: 0 / 494.2 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.5073, allocations: 0 / 494.2 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.307e-05/0.5074, allocations: 12 kB / 494.2 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.5074, allocations: 0 / 494.2 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.905e-05/0.5074, allocations: 4 kB / 494.3 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.5075, allocations: 7.625 kB / 494.3 MB, free: 5.777 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 () * Number of clocked 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 9.42e-05/0.5076, allocations: 134.8 kB / 494.4 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.5076, allocations: 15.89 kB / 494.4 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.5078, allocations: 99.58 kB / 494.5 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.5078, allocations: 4 kB / 494.5 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5078, allocations: 0 / 494.5 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5078, allocations: 0 / 494.5 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.5081, allocations: 377.8 kB / 494.9 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5082, allocations: 4 kB / 494.9 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.5082, allocations: 4.688 kB / 494.9 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.5082, allocations: 0 / 494.9 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.5082, allocations: 15.3 kB / 494.9 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5082, allocations: 0 / 494.9 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5082, allocations: 0 / 494.9 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.5084, allocations: 179.5 kB / 495.1 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.5084, allocations: 104.2 kB / 495.2 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.5085, allocations: 0 / 495.2 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-05/0.5085, allocations: 4.094 kB / 495.2 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.5086, allocations: 7.922 kB / 495.2 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.5086, allocations: 7.312 kB / 495.2 MB, free: 4.816 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000176/0.5088, allocations: 187.7 kB / 495.4 MB, free: 4.664 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5088, allocations: 8 kB / 495.4 MB, free: 4.656 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.509, allocations: 51.19 kB / 495.4 MB, free: 4.609 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) * Number of clocked states: 0 () * 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.0007234/0.5097, allocations: 360.1 kB / 495.8 MB, free: 4.348 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.5099, allocations: 116.5 kB / 495.9 MB, free: 4.242 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5099, allocations: 0 / 495.9 MB, free: 4.242 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.51, allocations: 19.12 kB / 495.9 MB, free: 4.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.5102, allocations: 15.67 kB / 495.9 MB, free: 4.211 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.5106, allocations: 296.8 kB / 496.2 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.5109, allocations: 0.716 MB / 496.9 MB, free: 3.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.574e-05/0.5109, allocations: 23.44 kB / 497 MB, free: 3.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.511, allocations: 15.44 kB / 497 MB, free: 3.145 MB / 330.7 MB Notification: Performance of SimCode: time 2.7e-07/0.511, allocations: 0 / 497 MB, free: 3.145 MB / 330.7 MB Notification: Performance of Templates: time 0.00377/0.5147, allocations: 1.665 MB / 498.6 MB, free: 1.496 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)