Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") [: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.0008649/0.0008649, allocations: 191.9 kB / 7.806 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.101/1.101, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0008664/0.0008664, allocations: 84.02 kB / 261.4 MB, free: 13.53 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.16/0.16, allocations: 43.5 MB / 352.9 MB, free: 1.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.208e-06/4.217e-06, allocations: 224 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2411, allocations: 58.84 MB / 476.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1038/0.3448, allocations: 85.63 MB / 0.549 GB, free: 13.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001754/0.3451, allocations: 71.95 kB / 0.5491 GB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008124/0.3532, allocations: 3.181 MB / 0.5522 GB, free: 10.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.3532, allocations: 3.938 kB / 0.5522 GB, free: 10.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002734/0.3535, allocations: 370.2 kB / 0.5525 GB, free: 9.637 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.3535, allocations: 8.031 kB / 0.5526 GB, free: 9.629 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.3536, allocations: 7.906 kB / 0.5526 GB, free: 9.621 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.3538, allocations: 190.9 kB / 0.5527 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.3538, allocations: 3.906 kB / 0.5527 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.3538, allocations: 4 kB / 0.5528 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.206e-05/0.3539, allocations: 15.94 kB / 0.5528 GB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.403e-05/0.3539, allocations: 41.69 kB / 0.5528 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.3539, allocations: 0 / 0.5528 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.354, allocations: 0 / 0.5528 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.354, allocations: 4 kB / 0.5528 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.3543, allocations: 261.4 kB / 0.5531 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.3544, allocations: 29.7 kB / 0.5531 GB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.288e-05/0.3544, allocations: 8.859 kB / 0.5531 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.3544, allocations: 7.938 kB / 0.5531 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.3545, allocations: 30.56 kB / 0.5531 GB, free: 8.934 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3545, allocations: 0 / 0.5531 GB, free: 8.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003225/0.3548, allocations: 113.5 kB / 0.5532 GB, free: 8.816 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.3548, allocations: 55.41 kB / 0.5533 GB, free: 8.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.389e-05/0.3549, allocations: 121.2 kB / 0.5534 GB, free: 8.621 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.3549, allocations: 25.7 kB / 0.5534 GB, free: 8.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.355, allocations: 92.12 kB / 0.5535 GB, free: 8.496 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.355, allocations: 19.72 kB / 0.5535 GB, free: 8.477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.355, allocations: 3.938 kB / 0.5535 GB, free: 8.473 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.3551, allocations: 318.8 kB / 0.5538 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.273e-05/0.3551, allocations: 15.94 kB / 0.5539 GB, free: 8.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.3552, allocations: 12 kB / 0.5539 GB, free: 8.125 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.3552, allocations: 11.98 kB / 0.5539 GB, free: 8.113 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.3552, allocations: 0 / 0.5539 GB, free: 8.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.711e-05/0.3553, allocations: 69.59 kB / 0.554 GB, free: 8.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.3553, allocations: 6.812 kB / 0.554 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.3553, allocations: 0 / 0.554 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.3553, allocations: 4 kB / 0.554 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/0.3554, allocations: 15.98 kB / 0.554 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.3554, allocations: 4 kB / 0.554 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.037e-05/0.3555, allocations: 4 kB / 0.554 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.3555, allocations: 0 / 0.554 GB, free: 8.008 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 (5): * Single equations (assignments): 5 * 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.044e-05/0.3555, allocations: 112.8 kB / 0.5541 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.3556, allocations: 11.84 kB / 0.5541 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.3557, allocations: 82.11 kB / 0.5542 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3557, allocations: 0 / 0.5542 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3557, allocations: 3.984 kB / 0.5542 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3557, allocations: 0 / 0.5542 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.356, allocations: 307.1 kB / 0.5545 GB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.356, allocations: 3.938 kB / 0.5545 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.339e-05/0.3561, allocations: 16 kB / 0.5545 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3561, allocations: 0 / 0.5545 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.3561, allocations: 4 kB / 0.5545 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3561, allocations: 0 / 0.5545 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3561, allocations: 3.984 kB / 0.5545 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001112/0.3562, allocations: 163.5 kB / 0.5547 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.3563, allocations: 77.25 kB / 0.5547 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.3563, allocations: 7.906 kB / 0.5547 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.3564, allocations: 15.97 kB / 0.5548 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.3564, allocations: 0 / 0.5548 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.3564, allocations: 4 kB / 0.5548 GB, free: 7.121 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.654e-05/0.3565, allocations: 110.8 kB / 0.5549 GB, free: 7.016 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00023/0.3567, allocations: 23.88 kB / 0.5549 GB, free: 6.992 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 (5): * Single equations (assignments): 5 * 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.0004952/0.3572, allocations: 302.2 kB / 0.5552 GB, free: 6.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.467e-05/0.3573, allocations: 35.98 kB / 0.5552 GB, free: 6.695 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.3573, allocations: 0 / 0.5552 GB, free: 6.695 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.9e-05/0.3573, allocations: 20 kB / 0.5552 GB, free: 6.676 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.3575, allocations: 15.78 kB / 0.5552 GB, free: 6.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.3578, allocations: 107.7 kB / 0.5553 GB, free: 6.527 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.358, allocations: 0.7186 MB / 0.5561 GB, free: 5.785 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.358, allocations: 0 / 0.5561 GB, free: 5.785 MB / 394.7 MB Notification: Performance of Templates: time 0.002642/0.3606, allocations: 1.113 MB / 0.5571 GB, free: 4.68 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches