Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33") [: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.3+maint.om/package.mo): time 0.0009443/0.0009446, allocations: 192.4 kB / 7.802 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.108/1.108, allocations: 205.2 MB / 213.4 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008145/0.0008145, allocations: 90.86 kB / 261.4 MB, free: 13.51 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1634/0.1634, allocations: 43.49 MB / 352.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.463e-06/6.552e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2536, allocations: 58.83 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09972/0.3534, allocations: 85.86 MB / 0.5492 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001775/0.3536, allocations: 71.95 kB / 0.5493 GB, free: 13 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01523/0.3689, allocations: 5.761 MB / 0.5549 GB, free: 7.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3689, allocations: 4 kB / 0.5549 GB, free: 7.246 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003488/0.3692, allocations: 390.3 kB / 0.5553 GB, free: 6.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.658e-05/0.3693, allocations: 8.031 kB / 0.5553 GB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.3693, allocations: 11.84 kB / 0.5553 GB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.3695, allocations: 192.7 kB / 0.5555 GB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.3695, allocations: 0 / 0.5555 GB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.3695, allocations: 0 / 0.5555 GB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.298e-05/0.3696, allocations: 19.89 kB / 0.5555 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.104e-05/0.3697, allocations: 51.42 kB / 0.5556 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3697, allocations: 0 / 0.5556 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.3697, allocations: 0 / 0.5556 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.3697, allocations: 7.938 kB / 0.5556 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.37, allocations: 257.3 kB / 0.5558 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.3702, allocations: 29.7 kB / 0.5559 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.3702, allocations: 12.86 kB / 0.5559 GB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.3702, allocations: 0 / 0.5559 GB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.3702, allocations: 34.56 kB / 0.5559 GB, free: 6.102 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.3702, allocations: 0 / 0.5559 GB, free: 6.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003224/0.3706, allocations: 97.41 kB / 0.556 GB, free: 6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.3706, allocations: 89.11 kB / 0.5561 GB, free: 5.895 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.695e-05/0.3707, allocations: 113 kB / 0.5562 GB, free: 5.777 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3707, allocations: 25.7 kB / 0.5562 GB, free: 5.746 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.3708, allocations: 92.12 kB / 0.5563 GB, free: 5.652 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.3708, allocations: 15.75 kB / 0.5563 GB, free: 5.637 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.3708, allocations: 0 / 0.5563 GB, free: 5.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3709, allocations: 318.8 kB / 0.5566 GB, free: 5.316 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.371, allocations: 8 kB / 0.5566 GB, free: 5.309 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.371, allocations: 25.72 kB / 0.5566 GB, free: 5.277 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.678e-05/0.371, allocations: 8 kB / 0.5567 GB, free: 5.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.371, allocations: 7.844 kB / 0.5567 GB, free: 5.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.519e-05/0.3711, allocations: 61.88 kB / 0.5567 GB, free: 5.195 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.3712, allocations: 4 kB / 0.5567 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3712, allocations: 7.906 kB / 0.5567 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.816e-06/0.3712, allocations: 4 kB / 0.5567 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.788e-05/0.3713, allocations: 15.98 kB / 0.5568 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3713, allocations: 4.031 kB / 0.5568 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/0.3713, allocations: 4 kB / 0.5568 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.3713, allocations: 0 / 0.5568 GB, free: 5.156 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 7.068e-05/0.3714, allocations: 106.4 kB / 0.5569 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.3714, allocations: 7.906 kB / 0.5569 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.3716, allocations: 65.67 kB / 0.5569 GB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3716, allocations: 8 kB / 0.5569 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3716, allocations: 0 / 0.5569 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3716, allocations: 3.906 kB / 0.5569 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.3719, allocations: 299.1 kB / 0.5572 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3719, allocations: 0 / 0.5572 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.088e-05/0.372, allocations: 15.98 kB / 0.5572 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.372, allocations: 4 kB / 0.5572 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-06/0.372, allocations: 4 kB / 0.5573 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.372, allocations: 3.906 kB / 0.5573 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.372, allocations: 0 / 0.5573 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001491/0.3722, allocations: 155.4 kB / 0.5574 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.3722, allocations: 89.02 kB / 0.5575 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.3723, allocations: 3.938 kB / 0.5575 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.3723, allocations: 12.17 kB / 0.5575 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.3724, allocations: 4 kB / 0.5575 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.3724, allocations: 4 kB / 0.5575 GB, free: 4.293 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.363e-05/0.3725, allocations: 103.8 kB / 0.5576 GB, free: 4.191 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002365/0.3727, allocations: 35.92 kB / 0.5576 GB, free: 4.156 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005701/0.3733, allocations: 327 kB / 0.558 GB, free: 3.875 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.591e-05/0.3734, allocations: 27.94 kB / 0.558 GB, free: 3.848 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3734, allocations: 0 / 0.558 GB, free: 3.848 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.505e-05/0.3734, allocations: 16 kB / 0.558 GB, free: 3.832 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.3736, allocations: 15.75 kB / 0.558 GB, free: 3.816 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002514/0.3738, allocations: 95.77 kB / 0.5581 GB, free: 3.695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.3742, allocations: 0.7153 MB / 0.5588 GB, free: 2.953 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3742, allocations: 0 / 0.5588 GB, free: 2.953 MB / 394.7 MB Notification: Performance of Templates: time 0.003087/0.3773, allocations: 1.325 MB / 0.5601 GB, free: 1.637 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1)