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.00142/0.001419, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.552/1.552, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001609/0.001609, allocations: 111.5 kB / 218 MB, free: 8.402 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.1834/0.1834, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.175e-05/2.177e-05, allocations: 5.844 kB / 350 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09579/0.09583, allocations: 48.73 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.356/0.4519, allocations: 75.11 MB / 473.8 MB, free: 17.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.4522, allocations: 68.42 kB / 473.9 MB, free: 17.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01285/0.4651, allocations: 4.321 MB / 478.2 MB, free: 17.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4651, allocations: 0 / 478.2 MB, free: 17.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.4652, allocations: 1.375 kB / 478.2 MB, free: 17.36 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.0004874/0.4657, allocations: 433.2 kB / 478.7 MB, free: 16.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.578e-05/0.4657, allocations: 9.156 kB / 478.7 MB, free: 16.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.4658, allocations: 14.31 kB / 478.7 MB, free: 16.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.4661, allocations: 215.6 kB / 478.9 MB, free: 16.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.4661, allocations: 1.062 kB / 478.9 MB, free: 16.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.4662, allocations: 2.969 kB / 478.9 MB, free: 16.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.268e-05/0.4662, allocations: 21.44 kB / 478.9 MB, free: 16.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.4664, allocations: 45.05 kB / 479 MB, free: 16.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.4664, allocations: 5.469 kB / 479 MB, free: 16.67 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4664, allocations: 1.781 kB / 479 MB, free: 16.67 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.4664, allocations: 0 / 479 MB, free: 16.67 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.4668, allocations: 281.8 kB / 479.2 MB, free: 16.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.4671, allocations: 44.91 kB / 479.3 MB, free: 16.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.044e-05/0.4671, allocations: 19.2 kB / 479.3 MB, free: 16.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.4671, allocations: 4 kB / 479.3 MB, free: 16.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.4673, allocations: 59.16 kB / 479.4 MB, free: 16.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.4673, allocations: 0 / 479.4 MB, free: 16.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004336/0.4677, allocations: 113 kB / 479.5 MB, free: 16.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.4677, allocations: 52.66 kB / 479.5 MB, free: 16.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.468, allocations: 230.7 kB / 479.8 MB, free: 16.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.468, allocations: 31.33 kB / 479.8 MB, free: 16.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.4681, allocations: 120.9 kB / 479.9 MB, free: 16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.4681, allocations: 12.17 kB / 479.9 MB, free: 16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.4681, allocations: 1.781 kB / 479.9 MB, free: 16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.458e-05/0.4682, allocations: 324.4 kB / 480.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.226e-05/0.4683, allocations: 22.72 kB / 480.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.153e-05/0.4683, allocations: 18.41 kB / 480.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.893e-05/0.4684, allocations: 22.3 kB / 480.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.4684, allocations: 2.094 kB / 480.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001771/0.4685, allocations: 106 kB / 480.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.4686, allocations: 38.73 kB / 480.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4686, allocations: 0 / 480.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4686, allocations: 1.031 kB / 480.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.211e-05/0.4687, allocations: 9.578 kB / 480.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4687, allocations: 0 / 480.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.4688, allocations: 3.312 kB / 480.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.4688, allocations: 5.125 kB / 480.5 MB, free: 15.6 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 9.207e-05/0.4689, allocations: 107.2 kB / 480.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.4689, allocations: 14.28 kB / 480.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.4692, allocations: 98.2 kB / 480.7 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.4692, allocations: 1.219 kB / 480.7 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.4692, allocations: 0 / 480.7 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4692, allocations: 3.938 kB / 480.7 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.4697, allocations: 354.1 kB / 481 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4697, allocations: 1.188 kB / 481 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.4697, allocations: 11.83 kB / 481 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4697, allocations: 1.219 kB / 481 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4697, allocations: 1.25 kB / 481 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4698, allocations: 4 kB / 481 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4698, allocations: 1.156 kB / 481 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.47, allocations: 177.5 kB / 481.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.47, allocations: 99.88 kB / 481.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.4701, allocations: 2.125 kB / 481.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.4701, allocations: 1.406 kB / 481.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.4702, allocations: 5.125 kB / 481.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.4702, allocations: 7.75 kB / 481.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002064/0.4704, allocations: 186 kB / 481.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4704, allocations: 0 / 481.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003451/0.4708, allocations: 45.45 kB / 481.6 MB, free: 14.83 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.0007389/0.4715, allocations: 298.8 kB / 481.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.4717, allocations: 109.5 kB / 482 MB, free: 14.56 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4717, allocations: 0 / 482 MB, free: 14.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.651e-05/0.4718, allocations: 23.08 kB / 482 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.4721, allocations: 18.73 kB / 482 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.4725, allocations: 194.7 kB / 482.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000809/0.4733, allocations: 0.7237 MB / 482.9 MB, free: 29.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.299e-05/0.4734, allocations: 17.89 kB / 482.9 MB, free: 29.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.4734, allocations: 17.31 kB / 482.9 MB, free: 29.74 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4734, allocations: 0 / 482.9 MB, free: 29.74 MB / 346.7 MB Notification: Performance of Templates: time 0.00498/0.4784, allocations: 1.579 MB / 484.5 MB, free: 29.56 MB / 346.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)