Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.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.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27") translateModel(ModelicaTest.Tables.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27") [: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.0008406/0.0008406, allocations: 191.5 kB / 7.807 MB, free: 2.492 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.067/1.067, 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.0009141/0.0009142, allocations: 93.48 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.1544/0.1544, allocations: 43.49 MB / 352.8 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.913e-06/6.933e-06, allocations: 4 kB / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2336, allocations: 58.84 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.3378, allocations: 86.01 MB / 0.5494 GB, free: 12.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001558/0.338, allocations: 79.45 kB / 0.5495 GB, free: 12.87 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009321/0.3473, allocations: 3.809 MB / 0.5532 GB, free: 9.051 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.3473, allocations: 4 kB / 0.5532 GB, free: 9.047 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.0002995/0.3477, allocations: 402 kB / 0.5536 GB, free: 8.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.3477, allocations: 8.031 kB / 0.5536 GB, free: 8.602 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.3477, allocations: 7.906 kB / 0.5536 GB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.3479, allocations: 202.7 kB / 0.5538 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.3479, allocations: 7.188 kB / 0.5538 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.3479, allocations: 4 kB / 0.5538 GB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.775e-05/0.348, allocations: 20 kB / 0.5538 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.385e-05/0.3481, allocations: 45.62 kB / 0.5539 GB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.3481, allocations: 7.938 kB / 0.5539 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3481, allocations: 0 / 0.5539 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3481, allocations: 0 / 0.5539 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.3484, allocations: 265.4 kB / 0.5541 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.482e-05/0.3485, allocations: 34.67 kB / 0.5541 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.3485, allocations: 16.84 kB / 0.5542 GB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.3485, allocations: 4 kB / 0.5542 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.3485, allocations: 30.56 kB / 0.5542 GB, free: 7.867 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3485, allocations: 3.938 kB / 0.5542 GB, free: 7.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003817/0.3489, allocations: 141.2 kB / 0.5543 GB, free: 7.719 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.349, allocations: 51.41 kB / 0.5544 GB, free: 7.656 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.3491, allocations: 161.4 kB / 0.5545 GB, free: 7.492 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.3491, allocations: 29.69 kB / 0.5546 GB, free: 7.457 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.3491, allocations: 96.08 kB / 0.5547 GB, free: 7.359 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.3492, allocations: 15.7 kB / 0.5547 GB, free: 7.344 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.3492, allocations: 4 kB / 0.5547 GB, free: 7.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.154e-05/0.3493, allocations: 322.8 kB / 0.555 GB, free: 7.016 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.3493, allocations: 16 kB / 0.555 GB, free: 7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.373e-05/0.3493, allocations: 16.06 kB / 0.555 GB, free: 6.984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.88e-05/0.3494, allocations: 12 kB / 0.555 GB, free: 6.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.3494, allocations: 3.938 kB / 0.555 GB, free: 6.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001053/0.3495, allocations: 77.5 kB / 0.5551 GB, free: 6.887 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.3495, allocations: 4 kB / 0.5551 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.3495, allocations: 0 / 0.5551 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.754e-06/0.3495, allocations: 0 / 0.5551 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3496, allocations: 27.98 kB / 0.5551 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.3496, allocations: 3.938 kB / 0.5551 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.3497, allocations: 19.98 kB / 0.5552 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3497, allocations: 0 / 0.5552 GB, free: 6.832 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.006e-05/0.3498, allocations: 110.3 kB / 0.5553 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.3498, allocations: 7.906 kB / 0.5553 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.35, allocations: 86.11 kB / 0.5553 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.35, allocations: 4 kB / 0.5554 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.35, allocations: 0 / 0.5554 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.35, allocations: 7.984 kB / 0.5554 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.3503, allocations: 343 kB / 0.5557 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3503, allocations: 0 / 0.5557 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.3504, allocations: 27.92 kB / 0.5557 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3504, allocations: 0 / 0.5557 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3505, allocations: 0 / 0.5557 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3505, allocations: 3.984 kB / 0.5557 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3505, allocations: 8.297 kB / 0.5557 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001333/0.3506, allocations: 175.4 kB / 0.5559 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.3507, allocations: 96.92 kB / 0.556 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3507, allocations: 144 / 0.556 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3508, allocations: 15.98 kB / 0.556 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.3508, allocations: 11.97 kB / 0.556 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.3508, allocations: 4 kB / 0.556 GB, free: 5.863 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.139e-05/0.3509, allocations: 136.1 kB / 0.5561 GB, free: 5.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002192/0.3512, allocations: 20 kB / 0.5562 GB, free: 5.711 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.0005137/0.3517, allocations: 294.1 kB / 0.5564 GB, free: 5.453 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.691e-05/0.3518, allocations: 43.98 kB / 0.5565 GB, free: 5.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.3518, allocations: 0 / 0.5565 GB, free: 5.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.9e-05/0.3518, allocations: 27.94 kB / 0.5565 GB, free: 5.383 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.352, allocations: 16.53 kB / 0.5565 GB, free: 5.367 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.3523, allocations: 147.1 kB / 0.5567 GB, free: 5.199 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.3526, allocations: 0.727 MB / 0.5574 GB, free: 4.441 MB / 394.7 MB Notification: Performance of SimCode: time 1.483e-06/0.3526, allocations: 0 / 0.5574 GB, free: 4.441 MB / 394.7 MB Notification: Performance of Templates: time 0.002985/0.3556, allocations: 1.324 MB / 0.5587 GB, free: 3.125 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches