Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13") [: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.003784/0.003784, allocations: 171.1 kB / 7.447 MB, free: 2.316 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.092/1.092, 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.001694/0.001694, allocations: 112.4 kB / 217.7 MB, free: 8.238 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.1659/0.1659, allocations: 37.98 MB / 294.8 MB, free: 9.641 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.456e-06/8.476e-06, allocations: 1.562 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09585/0.09587, allocations: 48.71 MB / 398.2 MB, free: 5.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2973/0.3932, allocations: 75.78 MB / 474 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.3935, allocations: 66.97 kB / 474.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.007999/0.4015, allocations: 2.847 MB / 476.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.4015, allocations: 3.344 kB / 476.9 MB, free: 13.57 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004213/0.402, allocations: 469.5 kB / 477.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.402, allocations: 9.625 kB / 477.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.4021, allocations: 11 kB / 477.4 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.4023, allocations: 208.9 kB / 477.6 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.4023, allocations: 3.938 kB / 477.6 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.4024, allocations: 12.36 kB / 477.6 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.305e-05/0.4025, allocations: 26.41 kB / 477.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.869e-05/0.4026, allocations: 61.55 kB / 477.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.4026, allocations: 4 kB / 477.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.4026, allocations: 6.688 kB / 477.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4026, allocations: 0 / 477.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.403, allocations: 328.8 kB / 478 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.4032, allocations: 56.14 kB / 478.1 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/0.4033, allocations: 26.41 kB / 478.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.4033, allocations: 3.672 kB / 478.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.498e-05/0.4034, allocations: 71.19 kB / 478.2 MB, free: 12.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.4034, allocations: 0 / 478.2 MB, free: 12.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002029/0.4036, allocations: 79.91 kB / 478.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.4037, allocations: 54.62 kB / 478.3 MB, free: 12.42 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.4038, allocations: 144.7 kB / 478.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.4038, allocations: 27.91 kB / 478.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.4039, allocations: 92.62 kB / 478.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.4039, allocations: 27.78 kB / 478.6 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.4039, allocations: 0 / 478.6 MB, free: 12.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.46e-05/0.404, allocations: 324.2 kB / 478.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.4041, allocations: 22.84 kB / 478.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.849e-05/0.4041, allocations: 45.52 kB / 479 MB, free: 11.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.881e-05/0.4042, allocations: 32.39 kB / 479 MB, free: 11.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4042, allocations: 0 / 479 MB, free: 11.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001633/0.4044, allocations: 101.3 kB / 479.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.4044, allocations: 5.562 kB / 479.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4044, allocations: 11.16 kB / 479.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4044, allocations: 0 / 479.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.4045, allocations: 20.88 kB / 479.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4045, allocations: 0 / 479.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.4046, allocations: 10.34 kB / 479.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.4046, allocations: 6.094 kB / 479.2 MB, free: 11.8 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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.675e-05/0.4047, allocations: 109.6 kB / 479.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.4047, allocations: 18.27 kB / 479.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.4049, allocations: 94.64 kB / 479.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4049, allocations: 0 / 479.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4049, allocations: 0 / 479.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4049, allocations: 3.906 kB / 479.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.405, allocations: 174.3 kB / 479.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.405, allocations: 0 / 479.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.4051, allocations: 19.38 kB / 479.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.4051, allocations: 0 / 479.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.4051, allocations: 4 kB / 479.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.4052, allocations: 5.719 kB / 479.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4052, allocations: 7.844 kB / 479.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002064/0.4054, allocations: 132.6 kB / 479.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.4054, allocations: 91.28 kB / 479.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.4055, allocations: 0 / 479.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.174e-05/0.4055, allocations: 11.78 kB / 479.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.4056, allocations: 9.906 kB / 479.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.4056, allocations: 6.484 kB / 479.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.451e-05/0.4057, allocations: 113.6 kB / 480 MB, free: 11.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002419/0.4059, allocations: 29.73 kB / 480 MB, free: 11.21 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (8): * Single equations (assignments): 7 * 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.000554/0.4065, allocations: 252.7 kB / 480.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.4067, allocations: 88.19 kB / 480.3 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4067, allocations: 0 / 480.3 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.872e-05/0.4067, allocations: 25.2 kB / 480.3 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.407, allocations: 27.72 kB / 480.4 MB, free: 10.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.4074, allocations: 157.3 kB / 480.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/0.4078, allocations: 0.7227 MB / 481.2 MB, free: 26.19 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4078, allocations: 0 / 481.2 MB, free: 26.19 MB / 346.7 MB Notification: Performance of Templates: time 0.004104/0.4119, allocations: 1.582 MB / 482.8 MB, free: 26.01 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)