Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6") [: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.002488/0.002488, allocations: 181.4 kB / 7.454 MB, free: 2.512 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.161/1.161, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001971/0.00197, allocations: 112.6 kB / 217.7 MB, free: 8.227 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.1512/0.1512, allocations: 37.97 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.245e-06/8.496e-06, allocations: 2.938 kB / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08045/0.08047, allocations: 48.71 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2541/0.3346, allocations: 75.03 MB / 473.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/0.3348, allocations: 69.06 kB / 473.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01036/0.3452, allocations: 3.979 MB / 477.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.3452, allocations: 6.438 kB / 477.3 MB, free: 13.25 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.0003647/0.3456, allocations: 437.4 kB / 477.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3457, allocations: 11.56 kB / 477.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.3457, allocations: 11.59 kB / 477.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.346, allocations: 216.4 kB / 478 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.346, allocations: 0 / 478 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.346, allocations: 3.844 kB / 478 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.321e-05/0.3461, allocations: 13.58 kB / 478 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.006e-05/0.3462, allocations: 45.81 kB / 478 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3462, allocations: 7.922 kB / 478 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3462, allocations: 0 / 478 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3462, allocations: 0.75 kB / 478 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.3466, allocations: 293.7 kB / 478.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.3467, allocations: 33.69 kB / 478.4 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.53e-05/0.3468, allocations: 15.52 kB / 478.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.3468, allocations: 0 / 478.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.215e-05/0.3469, allocations: 53.58 kB / 478.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3469, allocations: 0 / 478.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003077/0.3472, allocations: 111.4 kB / 478.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.3472, allocations: 59.28 kB / 478.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.3474, allocations: 228.8 kB / 478.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.3474, allocations: 29.52 kB / 478.8 MB, free: 12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.3474, allocations: 100.5 kB / 478.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.3475, allocations: 15.12 kB / 479 MB, free: 11.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.3475, allocations: 0 / 479 MB, free: 11.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.915e-05/0.3475, allocations: 327.4 kB / 479.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.502e-05/0.3476, allocations: 18.66 kB / 479.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/0.3476, allocations: 22 kB / 479.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.415e-05/0.3477, allocations: 25.23 kB / 479.3 MB, free: 11.58 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3477, allocations: 0 / 479.3 MB, free: 11.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000135/0.3478, allocations: 103 kB / 479.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.3478, allocations: 3.344 kB / 479.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3478, allocations: 0 / 479.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.3478, allocations: 0 / 479.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.679e-05/0.3479, allocations: 10 kB / 479.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3479, allocations: 7.406 kB / 479.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.348, allocations: 7.312 kB / 479.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.348, allocations: 0 / 479.5 MB, free: 11.54 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 4.68e-05/0.348, allocations: 108.2 kB / 479.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.3481, allocations: 17.97 kB / 479.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.3482, allocations: 82.73 kB / 479.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.3482, allocations: 3.219 kB / 479.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3482, allocations: 8.031 kB / 479.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3482, allocations: 0 / 479.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.3485, allocations: 353.7 kB / 480 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3485, allocations: 0 / 480 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.3486, allocations: 6.531 kB / 480 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3486, allocations: 3.938 kB / 480 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.3486, allocations: 10.08 kB / 480 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3486, allocations: 0 / 480 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3486, allocations: 0 / 480 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001134/0.3487, allocations: 176.3 kB / 480.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.3488, allocations: 98.48 kB / 480.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.3488, allocations: 3.188 kB / 480.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.3489, allocations: 3 kB / 480.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.3489, allocations: 3.156 kB / 480.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.3489, allocations: 0 / 480.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.000118/0.349, allocations: 188.6 kB / 480.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000263/0.3493, allocations: 45.36 kB / 480.6 MB, free: 10.77 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.0004909/0.3498, allocations: 268.1 kB / 480.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.35, allocations: 79.92 kB / 480.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.35, allocations: 0 / 480.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.671e-05/0.35, allocations: 23.28 kB / 480.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.3503, allocations: 14.38 kB / 480.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.3507, allocations: 196.1 kB / 481.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.351, allocations: 0.7318 MB / 481.9 MB, free: 25.75 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.351, allocations: 3.938 kB / 481.9 MB, free: 25.75 MB / 346.7 MB Notification: Performance of Templates: time 0.003899/0.3549, allocations: 1.578 MB / 483.4 MB, free: 25.56 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)