Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") [: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.0008539/0.0008539, allocations: 187.9 kB / 7.802 MB, free: 2.488 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.068/1.068, 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.0008827/0.0008827, allocations: 93.25 kB / 261.4 MB, free: 13.56 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.1525/0.1525, allocations: 43.49 MB / 352.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.903e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.238, allocations: 58.83 MB / 476.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.3457, allocations: 86.09 MB / 0.5495 GB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.346, allocations: 67.97 kB / 0.5495 GB, free: 12.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01554/0.3615, allocations: 7.512 MB / 0.5569 GB, free: 5.277 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.3616, allocations: 4 kB / 0.5569 GB, free: 5.273 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.0004739/0.362, allocations: 0.5477 MB / 0.5574 GB, free: 4.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3621, allocations: 12.03 kB / 0.5574 GB, free: 4.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/0.3622, allocations: 39.44 kB / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.3626, allocations: 319.3 kB / 0.5578 GB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3626, allocations: 8 kB / 0.5578 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.3626, allocations: 0 / 0.5578 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.986e-05/0.3627, allocations: 15.98 kB / 0.5578 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.038e-05/0.3628, allocations: 41.7 kB / 0.5578 GB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3628, allocations: 0 / 0.5578 GB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.3628, allocations: 0 / 0.5578 GB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3628, allocations: 3.906 kB / 0.5578 GB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.3633, allocations: 425.1 kB / 0.5582 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.3635, allocations: 25.81 kB / 0.5582 GB, free: 3.719 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.3635, allocations: 12.84 kB / 0.5583 GB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3635, allocations: 4 kB / 0.5583 GB, free: 3.699 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.3636, allocations: 30.56 kB / 0.5583 GB, free: 3.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.3636, allocations: 4 kB / 0.5583 GB, free: 3.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004019/0.364, allocations: 180 kB / 0.5585 GB, free: 3.473 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.364, allocations: 55.41 kB / 0.5585 GB, free: 3.406 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.365, allocations: 0.7512 MB / 0.5593 GB, free: 2.648 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.3651, allocations: 25.7 kB / 0.5593 GB, free: 2.617 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.3651, allocations: 136 kB / 0.5594 GB, free: 2.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.3651, allocations: 19.75 kB / 0.5594 GB, free: 2.461 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.3652, allocations: 0 / 0.5594 GB, free: 2.461 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3653, allocations: 362.8 kB / 0.5598 GB, free: 2.098 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.3653, allocations: 8 kB / 0.5598 GB, free: 2.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/0.3653, allocations: 8 kB / 0.5598 GB, free: 2.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.396e-05/0.3654, allocations: 12 kB / 0.5598 GB, free: 2.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.3654, allocations: 0 / 0.5598 GB, free: 2.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000125/0.3655, allocations: 97.31 kB / 0.5599 GB, free: 1.969 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.3655, allocations: 11.94 kB / 0.5599 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3655, allocations: 0 / 0.5599 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.3655, allocations: 0 / 0.5599 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.697e-05/0.3656, allocations: 23.92 kB / 0.5599 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3656, allocations: 0 / 0.5599 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.3657, allocations: 11.91 kB / 0.5599 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.3657, allocations: 0 / 0.5599 GB, free: 1.922 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.162e-05/0.3658, allocations: 106.3 kB / 0.56 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.3659, allocations: 43.58 kB / 0.5601 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.3661, allocations: 121.2 kB / 0.5602 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3661, allocations: 0 / 0.5602 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3661, allocations: 0 / 0.5602 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3661, allocations: 0 / 0.5602 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005714/0.3667, allocations: 0.5378 MB / 0.5607 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3667, allocations: 0 / 0.5607 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.403e-05/0.3667, allocations: 20 kB / 0.5607 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3667, allocations: 0 / 0.5607 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.3668, allocations: 3.984 kB / 0.5607 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3668, allocations: 0 / 0.5607 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3668, allocations: 0 / 0.5607 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001553/0.3669, allocations: 190.9 kB / 0.5609 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.3671, allocations: 160.5 kB / 0.5611 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.3672, allocations: 256 / 0.5611 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3673, allocations: 16 kB / 0.5611 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.3673, allocations: 7.984 kB / 0.5611 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.3673, allocations: 4 kB / 0.5611 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000552/0.3679, allocations: 0.6082 MB / 0.5617 GB, free: 24 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002846/0.3682, allocations: 55.98 kB / 0.5618 GB, free: 15.96 MB / 410.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.00052/0.3687, allocations: 293.2 kB / 0.562 GB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.966e-05/0.3688, allocations: 24 kB / 0.5621 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.3688, allocations: 0 / 0.5621 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.854e-05/0.3688, allocations: 19.94 kB / 0.5621 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.3691, allocations: 29.66 kB / 0.5621 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009806/0.37, allocations: 0.6957 MB / 0.5628 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/0.3705, allocations: 0.8567 MB / 0.5636 GB, free: 14.02 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3705, allocations: 4 kB / 0.5636 GB, free: 14.02 MB / 410.7 MB Notification: Performance of Templates: time 0.00501/0.3755, allocations: 2.183 MB / 0.5658 GB, free: 11.83 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches