Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1D.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.0009175/0.0009175, allocations: 182.2 kB / 7.802 MB, free: 2.141 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.088/1.088, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.00079/0.00079, allocations: 96.27 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.1539/0.1539, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.153e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2344, allocations: 58.83 MB / 476.5 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09716/0.3316, allocations: 85.78 MB / 0.5492 GB, free: 13.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001681/0.3318, allocations: 67.97 kB / 0.5492 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008414/0.3402, allocations: 3.227 MB / 0.5524 GB, free: 9.961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.3402, allocations: 4 kB / 0.5524 GB, free: 9.957 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002764/0.3405, allocations: 373.4 kB / 0.5527 GB, free: 9.551 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.3405, allocations: 8.031 kB / 0.5527 GB, free: 9.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.3406, allocations: 7.906 kB / 0.5527 GB, free: 9.535 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.3408, allocations: 192.6 kB / 0.5529 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-06/0.3408, allocations: 0 / 0.5529 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.3408, allocations: 7.906 kB / 0.5529 GB, free: 9.301 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.525e-05/0.3409, allocations: 19.98 kB / 0.553 GB, free: 9.281 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.009e-05/0.341, allocations: 55.41 kB / 0.553 GB, free: 9.215 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.341, allocations: 4 kB / 0.553 GB, free: 9.211 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.341, allocations: 4 kB / 0.553 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.341, allocations: 0 / 0.553 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.3413, allocations: 265.4 kB / 0.5533 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.076e-05/0.3414, allocations: 30.58 kB / 0.5533 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/0.3414, allocations: 16.86 kB / 0.5533 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.3414, allocations: 7.984 kB / 0.5533 GB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.3415, allocations: 34.64 kB / 0.5534 GB, free: 8.797 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3415, allocations: 0 / 0.5534 GB, free: 8.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003522/0.3418, allocations: 117.2 kB / 0.5535 GB, free: 8.676 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.3419, allocations: 85.11 kB / 0.5535 GB, free: 8.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.342, allocations: 117 kB / 0.5537 GB, free: 8.453 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.342, allocations: 29.7 kB / 0.5537 GB, free: 8.418 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.342, allocations: 84.14 kB / 0.5538 GB, free: 8.332 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.3421, allocations: 19.7 kB / 0.5538 GB, free: 8.312 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.3421, allocations: 0 / 0.5538 GB, free: 8.312 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.863e-05/0.3422, allocations: 314.8 kB / 0.5541 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.3422, allocations: 15.94 kB / 0.5541 GB, free: 7.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.121e-05/0.3422, allocations: 33.7 kB / 0.5541 GB, free: 7.941 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.998e-05/0.3423, allocations: 20.14 kB / 0.5542 GB, free: 7.922 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.3423, allocations: 0 / 0.5542 GB, free: 7.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001054/0.3424, allocations: 65.59 kB / 0.5542 GB, free: 7.852 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.3424, allocations: 10.75 kB / 0.5542 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.3424, allocations: 0 / 0.5542 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.3424, allocations: 4 kB / 0.5542 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.3425, allocations: 15.98 kB / 0.5542 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.3425, allocations: 0 / 0.5542 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.3426, allocations: 15.94 kB / 0.5543 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3426, allocations: 7.906 kB / 0.5543 GB, free: 7.801 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 (6): * Single equations (assignments): 6 * 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.325e-05/0.3427, allocations: 102.4 kB / 0.5544 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.3427, allocations: 7.906 kB / 0.5544 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.3428, allocations: 85.97 kB / 0.5545 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3429, allocations: 3.938 kB / 0.5545 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3429, allocations: 4 kB / 0.5545 GB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3429, allocations: 0 / 0.5545 GB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.3432, allocations: 323 kB / 0.5548 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3432, allocations: 0 / 0.5548 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.954e-05/0.3433, allocations: 16 kB / 0.5548 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3433, allocations: 3.984 kB / 0.5548 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.3433, allocations: 384 / 0.5548 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3433, allocations: 0 / 0.5548 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3433, allocations: 8 kB / 0.5548 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001369/0.3434, allocations: 179.3 kB / 0.555 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.3435, allocations: 89 kB / 0.5551 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.3435, allocations: 0 / 0.5551 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.3436, allocations: 4 kB / 0.5551 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.3436, allocations: 15.98 kB / 0.5551 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.3436, allocations: 0 / 0.5551 GB, free: 6.883 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.627e-05/0.3437, allocations: 103.8 kB / 0.5552 GB, free: 6.781 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002287/0.3439, allocations: 31.94 kB / 0.5552 GB, free: 6.75 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 (6): * Single equations (assignments): 6 * 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.0005776/0.3445, allocations: 343.7 kB / 0.5555 GB, free: 6.449 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.913e-05/0.3446, allocations: 35.92 kB / 0.5556 GB, free: 6.414 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3446, allocations: 4 kB / 0.5556 GB, free: 6.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.007e-05/0.3447, allocations: 16 kB / 0.5556 GB, free: 6.395 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.3448, allocations: 19.28 kB / 0.5556 GB, free: 6.379 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.3451, allocations: 111.7 kB / 0.5557 GB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.3454, allocations: 0.7153 MB / 0.5564 GB, free: 5.5 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3454, allocations: 0 / 0.5564 GB, free: 5.5 MB / 394.7 MB Notification: Performance of Templates: time 0.00324/0.3486, allocations: 1.463 MB / 0.5578 GB, free: 4.043 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe 2>&1)