Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") [: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.0009612/0.0009613, allocations: 182.9 kB / 7.804 MB, free: 1.207 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.085/1.085, allocations: 205.2 MB / 213.4 MB, free: 8.527 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008236/0.0008237, allocations: 96.77 kB / 261.4 MB, free: 5.109 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1581/0.1581, allocations: 43.49 MB / 352.8 MB, free: 11.37 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 7.244e-06/7.264e-06, allocations: 4 kB / 417.7 MB, free: 68.21 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09195/0.09197, allocations: 58.84 MB / 476.6 MB, free: 9.312 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2425/0.3345, allocations: 85.61 MB / 0.549 GB, free: 10.6 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001656/0.3347, allocations: 73.61 kB / 0.5491 GB, free: 10.56 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.009273/0.344, allocations: 3.838 MB / 0.5528 GB, free: 7.371 MB / 370.8 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.344, allocations: 0 / 0.5528 GB, free: 7.371 MB / 370.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003006/0.3443, allocations: 400.9 kB / 0.5532 GB, free: 6.941 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.3443, allocations: 8.031 kB / 0.5532 GB, free: 6.934 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.3444, allocations: 15.81 kB / 0.5532 GB, free: 6.918 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.3446, allocations: 205.9 kB / 0.5534 GB, free: 6.684 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.3446, allocations: 4 kB / 0.5534 GB, free: 6.68 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.3446, allocations: 3.906 kB / 0.5534 GB, free: 6.676 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.629e-05/0.3447, allocations: 19.25 kB / 0.5534 GB, free: 6.66 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.205e-05/0.3448, allocations: 55.98 kB / 0.5535 GB, free: 6.605 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3448, allocations: 4 kB / 0.5535 GB, free: 6.602 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.3448, allocations: 7.938 kB / 0.5535 GB, free: 6.594 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3448, allocations: 3.984 kB / 0.5535 GB, free: 6.59 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.3451, allocations: 275.2 kB / 0.5538 GB, free: 6.305 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.719e-05/0.3452, allocations: 44.33 kB / 0.5538 GB, free: 6.266 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.3452, allocations: 12.86 kB / 0.5538 GB, free: 6.25 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.3453, allocations: 0 / 0.5538 GB, free: 6.25 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.3453, allocations: 41.69 kB / 0.5539 GB, free: 6.203 MB / 370.8 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.3453, allocations: 0 / 0.5539 GB, free: 6.203 MB / 370.8 MB Notification: Performance of matching and sorting (n=8): time 0.0003812/0.3457, allocations: 135.1 kB / 0.554 GB, free: 6.082 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.3457, allocations: 51.41 kB / 0.554 GB, free: 6.02 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.3459, allocations: 199.3 kB / 0.5542 GB, free: 5.844 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.3459, allocations: 25.7 kB / 0.5543 GB, free: 5.812 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.346, allocations: 99.34 kB / 0.5543 GB, free: 5.715 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.346, allocations: 27.14 kB / 0.5544 GB, free: 5.691 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.346, allocations: 0 / 0.5544 GB, free: 5.691 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.3461, allocations: 326.4 kB / 0.5547 GB, free: 5.367 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.748e-05/0.3461, allocations: 15.12 kB / 0.5547 GB, free: 5.359 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.04e-05/0.3462, allocations: 15.12 kB / 0.5547 GB, free: 5.348 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.041e-05/0.3462, allocations: 18.75 kB / 0.5547 GB, free: 5.336 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.3462, allocations: 0 / 0.5547 GB, free: 5.336 MB / 370.8 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001106/0.3463, allocations: 72.28 kB / 0.5548 GB, free: 5.27 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.3463, allocations: 8 kB / 0.5548 GB, free: 5.262 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3463, allocations: 4 kB / 0.5548 GB, free: 5.258 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.3464, allocations: 3.906 kB / 0.5548 GB, free: 5.254 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3465, allocations: 19.98 kB / 0.5548 GB, free: 5.234 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.3465, allocations: 0 / 0.5548 GB, free: 5.234 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.3465, allocations: 7.984 kB / 0.5548 GB, free: 5.227 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.3465, allocations: 8 kB / 0.5548 GB, free: 5.219 MB / 370.8 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 (8): * Single equations (assignments): 8 * 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.071e-05/0.3466, allocations: 106.3 kB / 0.5549 GB, free: 5.109 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.3466, allocations: 15.8 kB / 0.555 GB, free: 5.094 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.3468, allocations: 100.1 kB / 0.5551 GB, free: 5.008 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3468, allocations: 4 kB / 0.5551 GB, free: 5.004 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3468, allocations: 0 / 0.5551 GB, free: 5.004 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3468, allocations: 0 / 0.5551 GB, free: 5.004 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/0.3472, allocations: 374.2 kB / 0.5554 GB, free: 4.629 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3472, allocations: 3.938 kB / 0.5554 GB, free: 4.625 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-05/0.3473, allocations: 23.23 kB / 0.5554 GB, free: 4.605 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3473, allocations: 0 / 0.5554 GB, free: 4.605 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.3473, allocations: 0 / 0.5554 GB, free: 4.605 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3473, allocations: 3.906 kB / 0.5554 GB, free: 4.602 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3473, allocations: 3.938 kB / 0.5555 GB, free: 4.598 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001474/0.3475, allocations: 180.5 kB / 0.5556 GB, free: 4.418 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.3475, allocations: 93 kB / 0.5557 GB, free: 4.309 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.3476, allocations: 7.938 kB / 0.5557 GB, free: 4.301 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.3476, allocations: 4 kB / 0.5557 GB, free: 4.297 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.3477, allocations: 15.7 kB / 0.5557 GB, free: 4.285 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.3477, allocations: 192 / 0.5557 GB, free: 4.285 MB / 370.8 MB Notification: Performance of sort global known variables: time 0.0001086/0.3478, allocations: 165 kB / 0.5559 GB, free: 4.148 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.0002274/0.348, allocations: 24 kB / 0.5559 GB, free: 4.125 MB / 370.8 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 (8): * Single equations (assignments): 8 * 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.0004931/0.3485, allocations: 302.8 kB / 0.5562 GB, free: 3.879 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 9.7e-05/0.3486, allocations: 45.73 kB / 0.5563 GB, free: 3.844 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3486, allocations: 0 / 0.5563 GB, free: 3.844 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 3.459e-05/0.3487, allocations: 26.12 kB / 0.5563 GB, free: 3.824 MB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.3489, allocations: 15.16 kB / 0.5563 GB, free: 3.812 MB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.3492, allocations: 186.7 kB / 0.5565 GB, free: 3.625 MB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.3496, allocations: 0.7302 MB / 0.5572 GB, free: 2.871 MB / 370.8 MB Notification: Performance of SimCode: time 1.644e-06/0.3496, allocations: 0 / 0.5572 GB, free: 2.871 MB / 370.8 MB Notification: Performance of Templates: time 0.003263/0.3528, allocations: 1.334 MB / 0.5585 GB, free: 1.555 MB / 370.8 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches