Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [: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 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 175.6 kB / 8.517 MB, free: 1.859 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 221.4 MB / 230.3 MB, free: 7.633 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 98.09 kB / 281.2 MB, free: 5.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1805/0.1805, allocations: 44.14 MB / 376.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.842e-06/6.973e-06, allocations: 224 / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 61.92 MB / 0.4941 GB, free: 1.605 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3076/0.4221, allocations: 87.48 MB / 0.5795 GB, free: 9.227 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.4224, allocations: 65.44 kB / 0.5796 GB, free: 9.195 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01677/0.4392, allocations: 7.511 MB / 0.5869 GB, free: 1.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.4393, allocations: 8 kB / 0.5869 GB, free: 1.723 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.0006285/0.4399, allocations: 0.5548 MB / 0.5875 GB, free: 1.125 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.44, allocations: 13.22 kB / 0.5875 GB, free: 1.113 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.172e-05/0.4401, allocations: 39.44 kB / 0.5875 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004573/0.4405, allocations: 327.3 kB / 0.5878 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.4405, allocations: 0 / 0.5878 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.4406, allocations: 0 / 0.5878 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.294e-05/0.4406, allocations: 12 kB / 0.5878 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.209e-05/0.4407, allocations: 45.69 kB / 0.5879 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.4407, allocations: 0 / 0.5879 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.4407, allocations: 0 / 0.5879 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4408, allocations: 0 / 0.5879 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.4413, allocations: 401.3 kB / 0.5883 GB, free: 228 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.467e-05/0.4413, allocations: 30.56 kB / 0.5883 GB, free: 188 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.4414, allocations: 17.7 kB / 0.5883 GB, free: 168 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.4414, allocations: 0 / 0.5883 GB, free: 168 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.4414, allocations: 34.56 kB / 0.5883 GB, free: 124 kB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4414, allocations: 0 / 0.5883 GB, free: 124 kB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002033/0.4416, allocations: 85.16 kB / 0.5884 GB, free: 32 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.4417, allocations: 55.41 kB / 0.5885 GB, free: 15.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.4428, allocations: 0.7512 MB / 0.5892 GB, free: 15.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.4428, allocations: 25.7 kB / 0.5892 GB, free: 15.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.4429, allocations: 140 kB / 0.5894 GB, free: 15.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.4429, allocations: 15.78 kB / 0.5894 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.4429, allocations: 0 / 0.5894 GB, free: 15.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4431, allocations: 362.6 kB / 0.5897 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.4431, allocations: 4 kB / 0.5897 GB, free: 14.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.535e-05/0.4431, allocations: 8 kB / 0.5897 GB, free: 14.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.29e-05/0.4431, allocations: 7.984 kB / 0.5898 GB, free: 14.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4431, allocations: 0 / 0.5898 GB, free: 14.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001154/0.4433, allocations: 81.14 kB / 0.5898 GB, free: 14.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.4433, allocations: 8 kB / 0.5898 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.4433, allocations: 3.984 kB / 0.5898 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.4433, allocations: 0 / 0.5898 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.4435, allocations: 8 kB / 0.5898 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4435, allocations: 7.938 kB / 0.5899 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.4436, allocations: 15.98 kB / 0.5899 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.4436, allocations: 3.906 kB / 0.5899 GB, free: 14.51 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 (3): * Single equations (assignments): 3 * 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.317e-05/0.4437, allocations: 105 kB / 0.59 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-05/0.4437, allocations: 43.44 kB / 0.59 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.4439, allocations: 101.1 kB / 0.5901 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4439, allocations: 0 / 0.5901 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4439, allocations: 0 / 0.5901 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.444, allocations: 0 / 0.5901 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.4442, allocations: 306 kB / 0.5904 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4442, allocations: 4 kB / 0.5904 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.4443, allocations: 12 kB / 0.5904 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.4443, allocations: 3.906 kB / 0.5904 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.4443, allocations: 0 / 0.5904 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4443, allocations: 3.984 kB / 0.5904 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4443, allocations: 3.938 kB / 0.5904 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000152/0.4445, allocations: 175 kB / 0.5906 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.4447, allocations: 160.6 kB / 0.5908 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/0.4447, allocations: 11.89 kB / 0.5908 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.4448, allocations: 4 kB / 0.5908 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.4449, allocations: 4 kB / 0.5908 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.4449, allocations: 0 / 0.5908 GB, free: 13.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006293/0.4455, allocations: 0.6082 MB / 0.5914 GB, free: 12.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.4458, allocations: 51.98 kB / 0.5914 GB, free: 12.84 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 (3): * Single equations (assignments): 3 * 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.0005723/0.4464, allocations: 263.6 kB / 0.5917 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.88e-05/0.4465, allocations: 23.88 kB / 0.5917 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4465, allocations: 4 kB / 0.5917 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.616e-05/0.4465, allocations: 15.98 kB / 0.5917 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.4468, allocations: 16.31 kB / 0.5917 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.448, allocations: 0.6876 MB / 0.5924 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004428/0.4484, allocations: 0.8407 MB / 0.5932 GB, free: 11.01 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4484, allocations: 0 / 0.5932 GB, free: 11.01 MB / 410.7 MB Notification: Performance of Templates: time 0.005261/0.4537, allocations: 2.038 MB / 0.5952 GB, free: 8.965 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches