Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003907/0.003907, allocations: 174.8 kB / 7.45 MB, free: 2.508 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.127/1.127, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001672/0.001672, allocations: 111.8 kB / 217.7 MB, free: 8.215 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.1448/0.1448, allocations: 37.97 MB / 294.8 MB, free: 9.484 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.173e-05/1.177e-05, allocations: 3.969 kB / 349.5 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 48.71 MB / 398.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3312/0.4471, allocations: 75.04 MB / 473.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.4475, allocations: 67.12 kB / 473.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01055/0.458, allocations: 3.815 MB / 477.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.4581, allocations: 4 kB / 477.1 MB, free: 13.47 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.0004285/0.4585, allocations: 421.5 kB / 477.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.4586, allocations: 7.656 kB / 477.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.4586, allocations: 11.5 kB / 477.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.4589, allocations: 208.4 kB / 477.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.4589, allocations: 3.812 kB / 477.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.4589, allocations: 3.984 kB / 477.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.766e-05/0.459, allocations: 19.97 kB / 477.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.641e-05/0.4591, allocations: 44.64 kB / 477.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.4591, allocations: 0 / 477.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4591, allocations: 0 / 477.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4591, allocations: 0 / 477.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.4595, allocations: 279.5 kB / 478.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.4597, allocations: 35.89 kB / 478.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.4598, allocations: 19.95 kB / 478.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.4598, allocations: 1.641 kB / 478.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.923e-05/0.4599, allocations: 54.05 kB / 478.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.4599, allocations: 0 / 478.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003498/0.4602, allocations: 104.3 kB / 478.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.4603, allocations: 51.41 kB / 478.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.4604, allocations: 187.1 kB / 478.6 MB, free: 12.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.4605, allocations: 29.7 kB / 478.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.063e-05/0.4605, allocations: 93.86 kB / 478.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.4605, allocations: 17.97 kB / 478.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.4605, allocations: 0 / 478.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.4606, allocations: 323.3 kB / 479 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.753e-05/0.4606, allocations: 18.28 kB / 479 MB, free: 11.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.414e-05/0.4607, allocations: 25.61 kB / 479.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.422e-05/0.4607, allocations: 28.08 kB / 479.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.4607, allocations: 0 / 479.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001373/0.4609, allocations: 99.94 kB / 479.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.4609, allocations: 3.719 kB / 479.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4609, allocations: 3.938 kB / 479.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.4609, allocations: 3.906 kB / 479.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.544e-05/0.461, allocations: 9.297 kB / 479.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.461, allocations: 0 / 479.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.461, allocations: 6.266 kB / 479.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.4611, allocations: 7.312 kB / 479.2 MB, free: 11.76 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 6e-05/0.4611, allocations: 104.9 kB / 479.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.4611, allocations: 19.62 kB / 479.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.4613, allocations: 91.94 kB / 479.4 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.4613, allocations: 3.844 kB / 479.4 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4614, allocations: 0 / 479.4 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4614, allocations: 0 / 479.4 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.4616, allocations: 329.2 kB / 479.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4616, allocations: 3.938 kB / 479.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.4617, allocations: 7.719 kB / 479.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4617, allocations: 6.391 kB / 479.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.4617, allocations: 3.844 kB / 479.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4617, allocations: 0 / 479.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4617, allocations: 0 / 479.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001193/0.4618, allocations: 168.4 kB / 479.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.4619, allocations: 91.31 kB / 480 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.4619, allocations: 3.906 kB / 480 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.849e-05/0.462, allocations: 7.844 kB / 480 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.462, allocations: 5.969 kB / 480.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.462, allocations: 3.781 kB / 480.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.174e-05/0.4621, allocations: 148.2 kB / 480.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002664/0.4624, allocations: 37.81 kB / 480.2 MB, free: 11 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.0005565/0.463, allocations: 274.9 kB / 480.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.4631, allocations: 74.94 kB / 480.6 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4631, allocations: 0 / 480.6 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.4632, allocations: 19.19 kB / 480.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.4634, allocations: 18.2 kB / 480.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.4638, allocations: 161 kB / 480.8 MB, free: 10.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.4641, allocations: 0.7253 MB / 481.5 MB, free: 25.98 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4641, allocations: 3.344 kB / 481.5 MB, free: 25.98 MB / 346.7 MB Notification: Performance of Templates: time 0.003764/0.4678, allocations: 1.489 MB / 483 MB, free: 25.8 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1)