Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54") [: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.003719/0.003719, allocations: 182.8 kB / 7.45 MB, free: 2.516 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.131/1.131, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001719/0.001719, allocations: 111.9 kB / 217.7 MB, free: 8.156 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.1702/0.1702, allocations: 37.97 MB / 294.8 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.33e-05/1.333e-05, allocations: 2.75 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 48.71 MB / 398.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3382/0.4399, allocations: 75.04 MB / 473.3 MB, free: 13.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.4402, allocations: 68.19 kB / 473.3 MB, free: 13.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01043/0.4507, allocations: 3.822 MB / 477.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.4507, allocations: 3.875 kB / 477.1 MB, free: 13.48 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.0003907/0.4511, allocations: 418.4 kB / 477.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4512, allocations: 7.844 kB / 477.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.4512, allocations: 10.52 kB / 477.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.4515, allocations: 211.2 kB / 477.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4515, allocations: 0 / 477.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.4515, allocations: 3.812 kB / 477.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.465e-05/0.4516, allocations: 22.47 kB / 477.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.429e-05/0.4517, allocations: 43.66 kB / 477.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.4517, allocations: 0 / 477.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.4517, allocations: 3.984 kB / 477.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4517, allocations: 0 / 477.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.4521, allocations: 276.5 kB / 478.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.4522, allocations: 35.66 kB / 478.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.4523, allocations: 23.86 kB / 478.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.4523, allocations: 0 / 478.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.219e-05/0.4524, allocations: 52.84 kB / 478.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.4524, allocations: 0 / 478.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.00037/0.4528, allocations: 100.5 kB / 478.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.4528, allocations: 51.41 kB / 478.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.453, allocations: 195.4 kB / 478.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.453, allocations: 29.7 kB / 478.6 MB, free: 12.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.4531, allocations: 94.27 kB / 478.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.4531, allocations: 15.62 kB / 478.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-06/0.4531, allocations: 3.938 kB / 478.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.141e-05/0.4532, allocations: 324.6 kB / 479 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.931e-05/0.4532, allocations: 21.41 kB / 479.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.959e-05/0.4533, allocations: 18.47 kB / 479.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/0.4533, allocations: 21.62 kB / 479.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.4533, allocations: 0 / 479.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001352/0.4535, allocations: 103.9 kB / 479.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.4535, allocations: 3.875 kB / 479.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.4535, allocations: 0 / 479.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4535, allocations: 7.781 kB / 479.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.204e-05/0.4536, allocations: 7.75 kB / 479.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.4536, allocations: 0 / 479.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.034e-05/0.4536, allocations: 4.062 kB / 479.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.4536, allocations: 10.86 kB / 479.2 MB, free: 11.77 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 5.376e-05/0.4537, allocations: 104.8 kB / 479.3 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.4537, allocations: 19.59 kB / 479.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.4539, allocations: 83.08 kB / 479.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4539, allocations: 3.422 kB / 479.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4539, allocations: 0 / 479.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4539, allocations: 3.906 kB / 479.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.4542, allocations: 329.9 kB / 479.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4542, allocations: 0 / 479.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.4543, allocations: 17.89 kB / 479.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4543, allocations: 0 / 479.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.4543, allocations: 0 / 479.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4543, allocations: 0 / 479.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4543, allocations: 3.938 kB / 479.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001385/0.4545, allocations: 171.5 kB / 479.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.4545, allocations: 91.58 kB / 480 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.4546, allocations: 7.781 kB / 480 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.4546, allocations: 4 kB / 480 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.4547, allocations: 7.109 kB / 480.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.4547, allocations: 3.875 kB / 480.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001005/0.4548, allocations: 149.8 kB / 480.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002706/0.4551, allocations: 35.09 kB / 480.2 MB, free: 11.01 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.0006765/0.4558, allocations: 279.8 kB / 480.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.4559, allocations: 74.12 kB / 480.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4559, allocations: 0 / 480.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.67e-05/0.456, allocations: 18.41 kB / 480.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.4562, allocations: 11.5 kB / 480.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.4565, allocations: 163.6 kB / 480.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.4568, allocations: 0.7297 MB / 481.5 MB, free: 26 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4568, allocations: 0 / 481.5 MB, free: 26 MB / 346.7 MB Notification: Performance of Templates: time 0.005437/0.4623, allocations: 1.49 MB / 483 MB, free: 25.82 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1)