Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28") [: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.002966/0.002965, allocations: 175.6 kB / 7.451 MB, free: 2.504 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.198/1.198, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001885/0.001885, allocations: 123.8 kB / 217.7 MB, free: 8.141 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.2011/0.2011, allocations: 37.97 MB / 294.8 MB, free: 9.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.179e-05/1.182e-05, allocations: 2.844 kB / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08795/0.08798, allocations: 48.71 MB / 398.2 MB, free: 5.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2659/0.354, allocations: 75 MB / 473.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.3543, allocations: 68.14 kB / 473.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01307/0.3674, allocations: 3.556 MB / 476.8 MB, free: 13.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.3674, allocations: 0 / 476.8 MB, free: 13.58 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.0004271/0.3679, allocations: 413.5 kB / 477.2 MB, free: 13.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3679, allocations: 7.781 kB / 477.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.936e-05/0.368, allocations: 15.7 kB / 477.3 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.3683, allocations: 197.9 kB / 477.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.3683, allocations: 4 kB / 477.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.3683, allocations: 6.812 kB / 477.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.697e-05/0.3684, allocations: 13.69 kB / 477.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.526e-05/0.3685, allocations: 39.3 kB / 477.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3685, allocations: 0 / 477.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3686, allocations: 3.906 kB / 477.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3686, allocations: 6.547 kB / 477.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.369, allocations: 271.3 kB / 477.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.3692, allocations: 38.47 kB / 477.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.3692, allocations: 15.22 kB / 477.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.3693, allocations: 0 / 477.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.98e-05/0.3694, allocations: 52.77 kB / 477.9 MB, free: 12.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.3694, allocations: 0 / 477.9 MB, free: 12.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004368/0.3698, allocations: 95.2 kB / 478 MB, free: 12.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.3699, allocations: 59.28 kB / 478.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.3701, allocations: 157 kB / 478.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.3701, allocations: 25.7 kB / 478.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.842e-05/0.3701, allocations: 94.66 kB / 478.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.3702, allocations: 15.12 kB / 478.3 MB, free: 12.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-06/0.3702, allocations: 0 / 478.3 MB, free: 12.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.995e-05/0.3702, allocations: 317.5 kB / 478.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.558e-05/0.3703, allocations: 21.78 kB / 478.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.258e-05/0.3704, allocations: 20.56 kB / 478.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.02e-05/0.3705, allocations: 28.09 kB / 478.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3705, allocations: 0 / 478.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002178/0.3707, allocations: 98.89 kB / 478.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3707, allocations: 4.062 kB / 478.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3707, allocations: 3.938 kB / 478.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3708, allocations: 3.875 kB / 478.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.3708, allocations: 7.719 kB / 478.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3708, allocations: 64 / 478.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/0.3709, allocations: 7.094 kB / 478.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3709, allocations: 7.781 kB / 478.9 MB, free: 11.89 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 6.046e-05/0.371, allocations: 119.9 kB / 479 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.371, allocations: 7.656 kB / 479 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.3713, allocations: 84.38 kB / 479.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3713, allocations: 0 / 479.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3713, allocations: 0 / 479.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3713, allocations: 0 / 479.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.3716, allocations: 328 kB / 479.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3716, allocations: 0 / 479.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.842e-05/0.3717, allocations: 10.97 kB / 479.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3717, allocations: 0 / 479.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3717, allocations: 0 / 479.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3717, allocations: 0 / 479.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3718, allocations: 0 / 479.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001608/0.3719, allocations: 173.9 kB / 479.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.372, allocations: 92.97 kB / 479.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.372, allocations: 0 / 479.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.3721, allocations: 3.141 kB / 479.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.3722, allocations: 3.781 kB / 479.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.3722, allocations: 3.781 kB / 479.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001079/0.3723, allocations: 124.5 kB / 479.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004855/0.3728, allocations: 37.03 kB / 479.8 MB, free: 11.13 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.0007158/0.3735, allocations: 270 kB / 480.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.3737, allocations: 73.42 kB / 480.2 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3738, allocations: 0 / 480.2 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.501e-05/0.3738, allocations: 25.81 kB / 480.2 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.3742, allocations: 18.36 kB / 480.2 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.3746, allocations: 128.2 kB / 480.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.3749, allocations: 0.7135 MB / 481 MB, free: 10.12 MB / 330.7 MB Notification: Performance of SimCode: time 4e-07/0.3749, allocations: 3.938 kB / 481 MB, free: 10.12 MB / 330.7 MB Notification: Performance of Templates: time 0.004734/0.3796, allocations: 1.446 MB / 482.5 MB, free: 9.941 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)