Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00646/0.00646, allocations: 165.6 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.231/1.231, allocations: 170.8 MB / 186.6 MB, free: 1.027 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.00166/0.00166, allocations: 107.3 kB / 226.2 MB, free: 10.1 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.4383/0.4383, allocations: 38.06 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.000417, allocations: 12 kB / 362.9 MB, free: 5.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1245, allocations: 48.7 MB / 411.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3624/0.487, allocations: 75.86 MB / 487.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.4873, allocations: 74.16 kB / 487.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009909/0.4972, allocations: 4.14 MB / 491.6 MB, free: 8.363 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.4973, allocations: 0 / 491.6 MB, free: 8.363 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.4973, allocations: 7.984 kB / 491.7 MB, free: 8.355 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.0004559/0.4977, allocations: 448.2 kB / 492.1 MB, free: 7.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.4978, allocations: 12.02 kB / 492.1 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.4979, allocations: 9.656 kB / 492.1 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.4981, allocations: 197.3 kB / 492.3 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.4981, allocations: 0 / 492.3 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.4982, allocations: 4 kB / 492.3 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.4983, allocations: 41.44 kB / 492.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4983, allocations: 0 / 492.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.4983, allocations: 7.984 kB / 492.4 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4983, allocations: 4 kB / 492.4 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.622e-05/0.4984, allocations: 12.59 kB / 492.4 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.4987, allocations: 306.8 kB / 492.7 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.4989, allocations: 41.88 kB / 492.7 MB, free: 7.195 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.4989, allocations: 0 / 492.7 MB, free: 7.195 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.499, allocations: 66.84 kB / 492.8 MB, free: 7.121 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.585e-06/0.4991, allocations: 0 / 492.8 MB, free: 7.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003712/0.4994, allocations: 125.8 kB / 492.9 MB, free: 7.012 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.4995, allocations: 56.16 kB / 493 MB, free: 6.945 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.4996, allocations: 180.1 kB / 493.1 MB, free: 6.789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.4996, allocations: 33.27 kB / 493.2 MB, free: 6.754 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.4997, allocations: 94.45 kB / 493.3 MB, free: 6.668 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.4997, allocations: 27.3 kB / 493.3 MB, free: 6.645 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.4997, allocations: 4 kB / 493.3 MB, free: 6.641 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.389e-05/0.4998, allocations: 326.7 kB / 493.6 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.167e-05/0.4999, allocations: 18.94 kB / 493.6 MB, free: 6.305 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.4999, allocations: 30.11 kB / 493.7 MB, free: 6.285 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.769e-05/0.5, allocations: 51.77 kB / 493.7 MB, free: 6.238 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.5, allocations: 0 / 493.7 MB, free: 6.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001624/0.5001, allocations: 132.7 kB / 493.8 MB, free: 6.117 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.5002, allocations: 33.7 kB / 493.9 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5002, allocations: 3.984 kB / 493.9 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.5002, allocations: 4 kB / 493.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.578e-05/0.5003, allocations: 8.625 kB / 493.9 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.5003, allocations: 0 / 493.9 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.5003, allocations: 7.312 kB / 493.9 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.5003, allocations: 4 kB / 493.9 MB, free: 6.055 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.32e-05/0.5004, allocations: 126.1 kB / 494 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.5005, allocations: 7.906 kB / 494 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.5007, allocations: 102 kB / 494.1 MB, free: 5.832 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5007, allocations: 4 kB / 494.1 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5007, allocations: 0 / 494.1 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.5007, allocations: 3.984 kB / 494.1 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.501, allocations: 362.5 kB / 494.5 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.501, allocations: 0 / 494.5 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.501, allocations: 15.92 kB / 494.5 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.5011, allocations: 0 / 494.5 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.5011, allocations: 0 / 494.5 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5011, allocations: 0 / 494.5 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5011, allocations: 0 / 494.5 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.5012, allocations: 180.1 kB / 494.7 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.5013, allocations: 93 kB / 494.8 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.5013, allocations: 0 / 494.8 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.861e-05/0.5014, allocations: 4.094 kB / 494.8 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.5014, allocations: 10.86 kB / 494.8 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.5014, allocations: 4 kB / 494.8 MB, free: 5.129 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.5015, allocations: 152.2 kB / 494.9 MB, free: 5 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5015, allocations: 4 kB / 494.9 MB, free: 4.996 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.5018, allocations: 38.2 kB / 495 MB, free: 4.961 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.0007768/0.5026, allocations: 373.1 kB / 495.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.5028, allocations: 104.3 kB / 495.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5028, allocations: 0 / 495.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.922e-05/0.5028, allocations: 27.86 kB / 495.5 MB, free: 4.566 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.503, allocations: 18.8 kB / 495.5 MB, free: 4.555 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.5034, allocations: 219.2 kB / 495.7 MB, free: 4.328 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.5036, allocations: 0.7082 MB / 496.4 MB, free: 3.594 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.704e-05/0.5036, allocations: 16.12 kB / 496.4 MB, free: 3.578 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.5036, allocations: 19.11 kB / 496.5 MB, free: 3.562 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5036, allocations: 0 / 496.5 MB, free: 3.562 MB / 330.7 MB Notification: Performance of Templates: time 0.003527/0.5072, allocations: 1.545 MB / 498 MB, free: 2.031 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)