Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [: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.0008031/0.0008032, allocations: 189.7 kB / 7.804 MB, free: 2.504 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.063/1.063, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0009375/0.0009376, allocations: 94.81 kB / 261.4 MB, free: 13.54 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.1537/0.1537, allocations: 43.5 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.673e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2314, allocations: 58.84 MB / 476.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.3397, allocations: 85.68 MB / 0.5491 GB, free: 13.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.3399, allocations: 63.97 kB / 0.5491 GB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009185/0.3491, allocations: 3.402 MB / 0.5524 GB, free: 9.797 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.3491, allocations: 0 / 0.5524 GB, free: 9.797 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.0003146/0.3495, allocations: 366.3 kB / 0.5528 GB, free: 9.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3495, allocations: 8.031 kB / 0.5528 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.3496, allocations: 7.906 kB / 0.5528 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.3498, allocations: 206.7 kB / 0.553 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3498, allocations: 0 / 0.553 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.3498, allocations: 4 kB / 0.553 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.904e-05/0.3499, allocations: 19.98 kB / 0.553 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.35, allocations: 67.41 kB / 0.5531 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.35, allocations: 0 / 0.5531 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3501, allocations: 0 / 0.5531 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3501, allocations: 0 / 0.5531 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.3504, allocations: 273.2 kB / 0.5534 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.728e-05/0.3505, allocations: 41.64 kB / 0.5534 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.3505, allocations: 16.98 kB / 0.5534 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.3506, allocations: 4 kB / 0.5534 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.3506, allocations: 30.56 kB / 0.5534 GB, free: 8.621 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.3506, allocations: 4 kB / 0.5534 GB, free: 8.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.00041/0.351, allocations: 125.4 kB / 0.5536 GB, free: 8.488 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.3511, allocations: 77.11 kB / 0.5536 GB, free: 8.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.3512, allocations: 132.9 kB / 0.5538 GB, free: 8.258 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.3512, allocations: 25.7 kB / 0.5538 GB, free: 8.227 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.3512, allocations: 88.03 kB / 0.5539 GB, free: 8.137 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.3513, allocations: 19.72 kB / 0.5539 GB, free: 8.117 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.3513, allocations: 0 / 0.5539 GB, free: 8.117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.977e-05/0.3514, allocations: 322.8 kB / 0.5542 GB, free: 7.793 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.3514, allocations: 12 kB / 0.5542 GB, free: 7.781 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.3514, allocations: 25.7 kB / 0.5542 GB, free: 7.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.38e-05/0.3515, allocations: 20.16 kB / 0.5543 GB, free: 7.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.3515, allocations: 0 / 0.5543 GB, free: 7.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001125/0.3516, allocations: 69.59 kB / 0.5543 GB, free: 7.656 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.3516, allocations: 7.938 kB / 0.5543 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3516, allocations: 0 / 0.5543 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3517, allocations: 4 kB / 0.5543 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3518, allocations: 15.98 kB / 0.5543 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.3518, allocations: 320 / 0.5543 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.3518, allocations: 15.98 kB / 0.5544 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3518, allocations: 0 / 0.5544 GB, free: 7.613 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 6.434e-05/0.3519, allocations: 117.7 kB / 0.5545 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.352, allocations: 7.906 kB / 0.5545 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.3521, allocations: 93.95 kB / 0.5546 GB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3521, allocations: 4 kB / 0.5546 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3522, allocations: 4.188 kB / 0.5546 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3522, allocations: 3.984 kB / 0.5546 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.3525, allocations: 327.1 kB / 0.5549 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3525, allocations: 4 kB / 0.5549 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.383e-05/0.3525, allocations: 15.98 kB / 0.5549 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3526, allocations: 0 / 0.5549 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.3526, allocations: 7.938 kB / 0.5549 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3526, allocations: 80 / 0.5549 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3526, allocations: 7.984 kB / 0.5549 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001376/0.3527, allocations: 175.3 kB / 0.5551 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.3528, allocations: 89 kB / 0.5552 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.3528, allocations: 0 / 0.5552 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/0.3529, allocations: 7.938 kB / 0.5552 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.3529, allocations: 15.98 kB / 0.5552 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3529, allocations: 0 / 0.5552 GB, free: 6.664 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.069e-05/0.353, allocations: 108.1 kB / 0.5553 GB, free: 6.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002305/0.3532, allocations: 28 kB / 0.5553 GB, free: 6.531 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.0006383/0.3539, allocations: 342.4 kB / 0.5557 GB, free: 6.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.354, allocations: 35.98 kB / 0.5557 GB, free: 6.195 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.354, allocations: 0 / 0.5557 GB, free: 6.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.3541, allocations: 24 kB / 0.5557 GB, free: 6.172 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.3543, allocations: 20.14 kB / 0.5557 GB, free: 6.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.3545, allocations: 111.4 kB / 0.5558 GB, free: 6.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.3548, allocations: 0.7231 MB / 0.5566 GB, free: 5.27 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3549, allocations: 7.875 kB / 0.5566 GB, free: 5.262 MB / 394.7 MB Notification: Performance of Templates: time 0.003462/0.3583, allocations: 1.517 MB / 0.558 GB, free: 3.75 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1)