Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") [: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.0007998/0.0007999, allocations: 184.5 kB / 7.803 MB, free: 2.277 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.046/1.046, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0008183/0.0008185, allocations: 86.83 kB / 261.4 MB, free: 13.62 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.1489/0.1489, allocations: 43.48 MB / 352.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.372e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2225, allocations: 58.84 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.3291, allocations: 86.69 MB / 0.5501 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.3294, allocations: 71.95 kB / 0.5501 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01503/0.3444, allocations: 6.053 MB / 0.556 GB, free: 6.117 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.3445, allocations: 0 / 0.556 GB, free: 6.117 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000378/0.3448, allocations: 410.2 kB / 0.5564 GB, free: 5.672 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3449, allocations: 12.03 kB / 0.5564 GB, free: 5.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.3449, allocations: 15.75 kB / 0.5565 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.3451, allocations: 190.9 kB / 0.5566 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.3452, allocations: 0 / 0.5566 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.3452, allocations: 7.984 kB / 0.5566 GB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.458e-05/0.3453, allocations: 23.94 kB / 0.5567 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.3454, allocations: 63.39 kB / 0.5567 GB, free: 5.312 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3454, allocations: 3.984 kB / 0.5567 GB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3454, allocations: 4 kB / 0.5567 GB, free: 5.305 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3454, allocations: 4 kB / 0.5567 GB, free: 5.301 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.3458, allocations: 277.3 kB / 0.557 GB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.687e-05/0.3459, allocations: 50.41 kB / 0.557 GB, free: 4.934 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.337e-05/0.346, allocations: 16.86 kB / 0.5571 GB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.346, allocations: 0 / 0.5571 GB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.346, allocations: 30.56 kB / 0.5571 GB, free: 4.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.374e-06/0.346, allocations: 0 / 0.5571 GB, free: 4.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004733/0.3465, allocations: 161.3 kB / 0.5572 GB, free: 4.711 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3465, allocations: 77.11 kB / 0.5573 GB, free: 4.617 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.3467, allocations: 125.2 kB / 0.5574 GB, free: 4.484 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.3467, allocations: 25.7 kB / 0.5575 GB, free: 4.453 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.3467, allocations: 99.97 kB / 0.5576 GB, free: 4.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.3467, allocations: 15.72 kB / 0.5576 GB, free: 4.336 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.3468, allocations: 4 kB / 0.5576 GB, free: 4.332 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.3469, allocations: 318.8 kB / 0.5579 GB, free: 4.012 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.3469, allocations: 20 kB / 0.5579 GB, free: 3.992 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.3469, allocations: 33.7 kB / 0.5579 GB, free: 3.953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.159e-05/0.347, allocations: 32.05 kB / 0.558 GB, free: 3.922 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.347, allocations: 0 / 0.558 GB, free: 3.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001184/0.3471, allocations: 77.59 kB / 0.558 GB, free: 3.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.3471, allocations: 4 kB / 0.558 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.3471, allocations: 4.031 kB / 0.558 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3472, allocations: 4 kB / 0.558 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3473, allocations: 27.92 kB / 0.5581 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3473, allocations: 3.984 kB / 0.5581 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.064e-05/0.3474, allocations: 23.91 kB / 0.5581 GB, free: 3.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3474, allocations: 4 kB / 0.5581 GB, free: 3.77 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 (7): * Single equations (assignments): 7 * 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 5.829e-05/0.3475, allocations: 109.8 kB / 0.5582 GB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.3475, allocations: 11.89 kB / 0.5582 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.3477, allocations: 94.47 kB / 0.5583 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3477, allocations: 0 / 0.5583 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3477, allocations: 0 / 0.5583 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3477, allocations: 7.984 kB / 0.5583 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.348, allocations: 355 kB / 0.5587 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.348, allocations: 3.938 kB / 0.5587 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.206e-05/0.3481, allocations: 19.98 kB / 0.5587 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3481, allocations: 4 kB / 0.5587 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-06/0.3482, allocations: 4 kB / 0.5587 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3482, allocations: 0 / 0.5587 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3482, allocations: 3.906 kB / 0.5587 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001465/0.3483, allocations: 183.4 kB / 0.5589 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.3484, allocations: 93 kB / 0.559 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.3484, allocations: 3.938 kB / 0.559 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3485, allocations: 15.98 kB / 0.559 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.3486, allocations: 4 kB / 0.559 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.3486, allocations: 0 / 0.559 GB, free: 2.785 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.627e-05/0.3486, allocations: 118.6 kB / 0.5591 GB, free: 2.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.3489, allocations: 27.98 kB / 0.5591 GB, free: 2.645 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 (7): * Single equations (assignments): 7 * 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.0006151/0.3495, allocations: 338.8 kB / 0.5594 GB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.3496, allocations: 55.92 kB / 0.5595 GB, free: 2.301 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3496, allocations: 0 / 0.5595 GB, free: 2.301 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.435e-05/0.3497, allocations: 28 kB / 0.5595 GB, free: 2.273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.3499, allocations: 23.78 kB / 0.5595 GB, free: 2.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.3502, allocations: 135.4 kB / 0.5597 GB, free: 2.094 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.3505, allocations: 0.7231 MB / 0.5604 GB, free: 1.344 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3505, allocations: 0 / 0.5604 GB, free: 1.344 MB / 394.7 MB Notification: Performance of Templates: time 0.003494/0.354, allocations: 1.56 MB / 0.5619 GB, free: 15.79 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1)