Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001685/0.001685, allocations: 170 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.462/1.462, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001532/0.001532, allocations: 91.53 kB / 223.2 MB, free: 4.051 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.2079/0.2079, allocations: 37.99 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.705e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.356/0.4578, allocations: 75.6 MB / 481.3 MB, free: 18.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.4581, allocations: 64.78 kB / 481.4 MB, free: 18.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01012/0.4683, allocations: 3.827 MB / 485.2 MB, free: 18.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4683, allocations: 0 / 485.2 MB, free: 18.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.4683, allocations: 1.688 kB / 485.2 MB, free: 18.09 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000348/0.4687, allocations: 398 kB / 485.6 MB, free: 17.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.4687, allocations: 16.22 kB / 485.6 MB, free: 17.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.4688, allocations: 9.094 kB / 485.6 MB, free: 17.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.469, allocations: 198.1 kB / 485.8 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.469, allocations: 0 / 485.8 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.4691, allocations: 8.75 kB / 485.8 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.258e-05/0.4692, allocations: 40.45 kB / 485.9 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.4692, allocations: 0 / 485.9 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.4692, allocations: 0 / 485.9 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4692, allocations: 0 / 485.9 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.484e-05/0.4693, allocations: 16.06 kB / 485.9 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.4694, allocations: 182.2 kB / 486.1 MB, free: 17.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.594e-05/0.4695, allocations: 32.19 kB / 486.1 MB, free: 17.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.4695, allocations: 12.2 kB / 486.1 MB, free: 17.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.4695, allocations: 3.938 kB / 486.1 MB, free: 17.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.4696, allocations: 56.16 kB / 486.2 MB, free: 17.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.4697, allocations: 7.656 kB / 486.2 MB, free: 17.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001692/0.4698, allocations: 57.2 kB / 486.2 MB, free: 17.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.4699, allocations: 51.41 kB / 486.3 MB, free: 17.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.47, allocations: 163.1 kB / 486.4 MB, free: 16.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.47, allocations: 25.7 kB / 486.5 MB, free: 16.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.957e-05/0.4701, allocations: 96.86 kB / 486.5 MB, free: 16.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.4701, allocations: 9.828 kB / 486.6 MB, free: 16.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.4701, allocations: 3.938 kB / 486.6 MB, free: 16.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.003e-05/0.4702, allocations: 328.2 kB / 486.9 MB, free: 16.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.788e-05/0.4702, allocations: 17.06 kB / 486.9 MB, free: 16.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.704e-05/0.4703, allocations: 15.09 kB / 486.9 MB, free: 16.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.805e-05/0.4703, allocations: 48.73 kB / 487 MB, free: 16.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4703, allocations: 0 / 487 MB, free: 16.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001301/0.4705, allocations: 117.2 kB / 487.1 MB, free: 16.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.4705, allocations: 35.89 kB / 487.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4705, allocations: 0 / 487.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4705, allocations: 0 / 487.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.576e-05/0.4706, allocations: 3.969 kB / 487.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4706, allocations: 11.84 kB / 487.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.4706, allocations: 9.781 kB / 487.1 MB, free: 16.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.4707, allocations: 80 / 487.1 MB, free: 16.37 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 (5): * Single equations (assignments): 4 * 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 5.036e-05/0.4707, allocations: 123.2 kB / 487.3 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.4707, allocations: 7.781 kB / 487.3 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.4709, allocations: 73.33 kB / 487.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.4709, allocations: 0 / 487.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4709, allocations: 0 / 487.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4709, allocations: 0 / 487.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.503e-05/0.471, allocations: 189.3 kB / 487.5 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.471, allocations: 0 / 487.5 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.471, allocations: 7.969 kB / 487.5 MB, free: 16.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.471, allocations: 0 / 487.5 MB, free: 16.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.471, allocations: 0 / 487.5 MB, free: 16.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4711, allocations: 0 / 487.5 MB, free: 16.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4711, allocations: 6.234 kB / 487.5 MB, free: 16.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.131e-05/0.4712, allocations: 89.14 kB / 487.6 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.4712, allocations: 91.98 kB / 487.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.4712, allocations: 4.703 kB / 487.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.101e-05/0.4713, allocations: 1.031 kB / 487.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.4713, allocations: 4.859 kB / 487.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.4713, allocations: 3.891 kB / 487.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.062e-05/0.4714, allocations: 135.4 kB / 487.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4714, allocations: 0 / 487.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002081/0.4716, allocations: 24.83 kB / 487.9 MB, free: 15.75 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 (4): * Single equations (assignments): 3 * 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.0005936/0.4722, allocations: 290.9 kB / 488.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.4724, allocations: 99.17 kB / 488.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.4724, allocations: 0 / 488.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.135e-05/0.4724, allocations: 13.09 kB / 488.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.4726, allocations: 14.39 kB / 488.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002518/0.4729, allocations: 126.9 kB / 488.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.473, allocations: 0.7029 MB / 489.1 MB, free: 14.72 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.72e-05/0.4731, allocations: 17.7 kB / 489.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.4731, allocations: 16.83 kB / 489.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4731, allocations: 0 / 489.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of Templates: time 0.003299/0.4764, allocations: 1.304 MB / 490.5 MB, free: 14.55 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)