Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") [: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.0008648/0.0008648, allocations: 191.5 kB / 7.804 MB, free: 2.438 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.081/1.081, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0008205/0.0008205, allocations: 90.58 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.1618/0.1618, allocations: 43.49 MB / 352.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.481e-06/5.591e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2394, allocations: 58.85 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.3461, allocations: 88.15 MB / 0.5515 GB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001701/0.3463, allocations: 67.97 kB / 0.5515 GB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01966/0.366, allocations: 8.153 MB / 0.5595 GB, free: 2.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.931e-05/0.366, allocations: 11.94 kB / 0.5595 GB, free: 2.559 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00056/0.3666, allocations: 0.5517 MB / 0.5601 GB, free: 1.965 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3666, allocations: 8.031 kB / 0.5601 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.245e-05/0.3667, allocations: 43.44 kB / 0.5601 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.3672, allocations: 357.1 kB / 0.5604 GB, free: 1.523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3672, allocations: 4 kB / 0.5604 GB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.3673, allocations: 11.91 kB / 0.5605 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001496/0.3674, allocations: 71.97 kB / 0.5605 GB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.3676, allocations: 100.5 kB / 0.5606 GB, free: 1.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3676, allocations: 0 / 0.5606 GB, free: 1.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3676, allocations: 0 / 0.5606 GB, free: 1.336 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3676, allocations: 0 / 0.5606 GB, free: 1.336 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006625/0.3683, allocations: 0.5046 MB / 0.5611 GB, free: 0.793 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.3684, allocations: 97.56 kB / 0.5612 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.3685, allocations: 32.84 kB / 0.5612 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.3685, allocations: 4.219 kB / 0.5612 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.3686, allocations: 46.41 kB / 0.5613 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.3686, allocations: 0 / 0.5613 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007152/0.3693, allocations: 352.6 kB / 0.5616 GB, free: 252 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.3693, allocations: 59.34 kB / 0.5617 GB, free: 180 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005453/0.3699, allocations: 477 kB / 0.5621 GB, free: 15.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3699, allocations: 29.7 kB / 0.5622 GB, free: 15.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.756e-05/0.37, allocations: 140.4 kB / 0.5623 GB, free: 15.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.37, allocations: 51.11 kB / 0.5623 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.3701, allocations: 0 / 0.5623 GB, free: 15.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3702, allocations: 354.8 kB / 0.5627 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.292e-05/0.3703, allocations: 51.98 kB / 0.5627 GB, free: 15.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.476e-05/0.3704, allocations: 55.98 kB / 0.5628 GB, free: 15.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.669e-05/0.3705, allocations: 67.86 kB / 0.5629 GB, free: 14.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3705, allocations: 0 / 0.5629 GB, free: 14.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002715/0.3708, allocations: 205.1 kB / 0.563 GB, free: 14.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3708, allocations: 7.281 kB / 0.5631 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3708, allocations: 0 / 0.5631 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.3708, allocations: 4 kB / 0.5631 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.371, allocations: 35.92 kB / 0.5631 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.371, allocations: 3.938 kB / 0.5631 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.88e-05/0.3711, allocations: 15.98 kB / 0.5631 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.3711, allocations: 4 kB / 0.5631 GB, free: 14.68 MB / 410.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 (17): * Single equations (assignments): 17 * 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 6.564e-05/0.3712, allocations: 102.4 kB / 0.5632 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.3713, allocations: 43.44 kB / 0.5633 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.3717, allocations: 261.2 kB / 0.5635 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3717, allocations: 0 / 0.5635 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3717, allocations: 4 kB / 0.5635 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3717, allocations: 3.984 kB / 0.5635 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000757/0.3725, allocations: 0.6781 MB / 0.5642 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.3725, allocations: 7.984 kB / 0.5642 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.3726, allocations: 31.98 kB / 0.5642 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3726, allocations: 0 / 0.5642 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.3726, allocations: 8 kB / 0.5642 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3726, allocations: 0 / 0.5642 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3727, allocations: 3.984 kB / 0.5642 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003003/0.373, allocations: 314 kB / 0.5645 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.3731, allocations: 136.6 kB / 0.5647 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.3731, allocations: 11.92 kB / 0.5647 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.3733, allocations: 8 kB / 0.5647 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.3733, allocations: 15.98 kB / 0.5647 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.3733, allocations: 4 kB / 0.5647 GB, free: 12.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004078/0.3737, allocations: 379.1 kB / 0.5651 GB, free: 12.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003202/0.3741, allocations: 67.84 kB / 0.5651 GB, free: 12.54 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 (17): * Single equations (assignments): 17 * 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.0009837/0.3751, allocations: 0.4971 MB / 0.5656 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.3753, allocations: 136 kB / 0.5657 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3753, allocations: 3.938 kB / 0.5657 GB, free: 11.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.854e-05/0.3754, allocations: 79.91 kB / 0.5658 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.3758, allocations: 61.45 kB / 0.5659 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009137/0.3767, allocations: 0.5431 MB / 0.5664 GB, free: 11.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005043/0.3773, allocations: 0.8682 MB / 0.5672 GB, free: 10.34 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3773, allocations: 0 / 0.5672 GB, free: 10.34 MB / 410.7 MB Notification: Performance of Templates: time 0.006879/0.3841, allocations: 3.752 MB / 0.5709 GB, free: 6.586 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches