Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2D.Test25,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.Test25") [: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.000893/0.0008931, allocations: 186.1 kB / 7.803 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.058/1.058, allocations: 205.2 MB / 213.4 MB, free: 13.88 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.0008408/0.0008408, allocations: 86.81 kB / 261.4 MB, free: 13.57 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.1573/0.1573, allocations: 43.5 MB / 352.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.582e-06/6.612e-06, allocations: 4 kB / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2397, allocations: 58.83 MB / 476.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1018/0.3416, allocations: 86.02 MB / 0.5494 GB, free: 12.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001831/0.3419, allocations: 79.94 kB / 0.5495 GB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009611/0.3515, allocations: 3.739 MB / 0.5531 GB, free: 9.133 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.3515, allocations: 4 kB / 0.5531 GB, free: 9.129 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.0003661/0.3519, allocations: 386.1 kB / 0.5535 GB, free: 8.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3519, allocations: 8.031 kB / 0.5535 GB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.352, allocations: 7.906 kB / 0.5535 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.3522, allocations: 199.4 kB / 0.5537 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3522, allocations: 7.172 kB / 0.5537 GB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.3523, allocations: 3.906 kB / 0.5537 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.103e-05/0.3523, allocations: 19.98 kB / 0.5537 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.698e-05/0.3524, allocations: 41.69 kB / 0.5538 GB, free: 8.379 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3524, allocations: 0 / 0.5538 GB, free: 8.379 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.3525, allocations: 0 / 0.5538 GB, free: 8.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3525, allocations: 4 kB / 0.5538 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.3528, allocations: 269.3 kB / 0.554 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.696e-05/0.3529, allocations: 30.58 kB / 0.5541 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/0.3529, allocations: 12.86 kB / 0.5541 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.3529, allocations: 4 kB / 0.5541 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.353, allocations: 34.56 kB / 0.5541 GB, free: 7.973 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.353, allocations: 0 / 0.5541 GB, free: 7.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004331/0.3534, allocations: 141.2 kB / 0.5542 GB, free: 7.828 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.3535, allocations: 55.48 kB / 0.5543 GB, free: 7.762 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.3536, allocations: 151.5 kB / 0.5544 GB, free: 7.602 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.3536, allocations: 25.7 kB / 0.5545 GB, free: 7.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.3537, allocations: 96.05 kB / 0.5545 GB, free: 7.473 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.3537, allocations: 27.64 kB / 0.5546 GB, free: 7.445 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.3537, allocations: 0 / 0.5546 GB, free: 7.445 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.3538, allocations: 318.8 kB / 0.5549 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.636e-05/0.3538, allocations: 15.98 kB / 0.5549 GB, free: 7.109 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.3539, allocations: 12 kB / 0.5549 GB, free: 7.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.052e-05/0.3539, allocations: 20 kB / 0.5549 GB, free: 7.078 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.3539, allocations: 0 / 0.5549 GB, free: 7.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001089/0.354, allocations: 73.77 kB / 0.555 GB, free: 7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.354, allocations: 7.938 kB / 0.555 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.3541, allocations: 80 / 0.555 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3541, allocations: 3.906 kB / 0.555 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3542, allocations: 31.92 kB / 0.555 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3542, allocations: 3.984 kB / 0.555 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.546e-05/0.3543, allocations: 15.98 kB / 0.5551 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3543, allocations: 4 kB / 0.5551 GB, free: 6.934 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.963e-05/0.3544, allocations: 106.4 kB / 0.5552 GB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.3544, allocations: 15.81 kB / 0.5552 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.3546, allocations: 82.11 kB / 0.5553 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3546, allocations: 4.125 kB / 0.5553 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3546, allocations: 0 / 0.5553 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3546, allocations: 3.984 kB / 0.5553 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.3549, allocations: 335 kB / 0.5556 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3549, allocations: 0 / 0.5556 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.606e-05/0.355, allocations: 27.98 kB / 0.5556 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.355, allocations: 0 / 0.5556 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.355, allocations: 0 / 0.5556 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.355, allocations: 0 / 0.5556 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.355, allocations: 4 kB / 0.5556 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001409/0.3552, allocations: 183.3 kB / 0.5558 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.3553, allocations: 89.02 kB / 0.5559 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.3553, allocations: 0 / 0.5559 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.885e-05/0.3554, allocations: 15.98 kB / 0.5559 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.3554, allocations: 7.969 kB / 0.5559 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.3554, allocations: 4 kB / 0.5559 GB, free: 5.988 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.569e-05/0.3555, allocations: 128.5 kB / 0.556 GB, free: 5.863 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000224/0.3558, allocations: 27.98 kB / 0.556 GB, free: 5.836 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.0005545/0.3563, allocations: 294.2 kB / 0.5563 GB, free: 5.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.3564, allocations: 43.92 kB / 0.5564 GB, free: 5.535 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3565, allocations: 0 / 0.5564 GB, free: 5.535 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.024e-05/0.3565, allocations: 20 kB / 0.5564 GB, free: 5.516 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.3567, allocations: 15.77 kB / 0.5564 GB, free: 5.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.357, allocations: 151.2 kB / 0.5565 GB, free: 5.332 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.3574, allocations: 0.7149 MB / 0.5572 GB, free: 4.594 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3574, allocations: 3.938 kB / 0.5573 GB, free: 4.59 MB / 394.7 MB Notification: Performance of Templates: time 0.003147/0.3605, allocations: 1.308 MB / 0.5585 GB, free: 3.289 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches