Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [: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.0009981/0.0009982, allocations: 176 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.274/1.274, allocations: 221.4 MB / 230.3 MB, free: 7.68 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.0008925/0.0008924, allocations: 90.41 kB / 281.2 MB, free: 5.488 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.1843/0.1843, allocations: 44.14 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.191e-06/6.221e-06, allocations: 224 / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1195, allocations: 61.91 MB / 0.4941 GB, free: 1.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.31/0.4295, allocations: 88.09 MB / 0.5801 GB, free: 8.742 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.4298, allocations: 71.97 kB / 0.5802 GB, free: 8.672 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01771/0.4475, allocations: 7.523 MB / 0.5875 GB, free: 1.145 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.098e-05/0.4476, allocations: 4 kB / 0.5875 GB, free: 1.141 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.000571/0.4482, allocations: 0.5559 MB / 0.5881 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4482, allocations: 13.47 kB / 0.5881 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.398e-05/0.4483, allocations: 43.44 kB / 0.5881 GB, free: 496 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005093/0.4488, allocations: 335.3 kB / 0.5885 GB, free: 120 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.4488, allocations: 0 / 0.5885 GB, free: 120 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.4489, allocations: 0 / 0.5885 GB, free: 120 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.469e-05/0.449, allocations: 23.94 kB / 0.5885 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.763e-05/0.4491, allocations: 53.58 kB / 0.5885 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4491, allocations: 0 / 0.5885 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.4491, allocations: 4 kB / 0.5885 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.4491, allocations: 3.828 kB / 0.5885 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000657/0.4498, allocations: 433.2 kB / 0.5889 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.457e-05/0.4499, allocations: 38.52 kB / 0.589 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.4499, allocations: 12.86 kB / 0.589 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.4499, allocations: 4 kB / 0.589 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.45, allocations: 30.56 kB / 0.589 GB, free: 15.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.45, allocations: 0 / 0.589 GB, free: 15.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005885/0.4506, allocations: 244.1 kB / 0.5893 GB, free: 15.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.4506, allocations: 51.41 kB / 0.5893 GB, free: 15.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.4517, allocations: 0.7589 MB / 0.5901 GB, free: 14.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.4517, allocations: 25.7 kB / 0.5901 GB, free: 14.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.4518, allocations: 140.1 kB / 0.5902 GB, free: 14.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.4518, allocations: 15.72 kB / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-06/0.4519, allocations: 0 / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.452, allocations: 366.7 kB / 0.5906 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.614e-05/0.4521, allocations: 20 kB / 0.5906 GB, free: 13.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.732e-05/0.4521, allocations: 23.98 kB / 0.5906 GB, free: 13.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.148e-05/0.4521, allocations: 21.06 kB / 0.5906 GB, free: 13.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.4522, allocations: 0 / 0.5906 GB, free: 13.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001852/0.4523, allocations: 121.1 kB / 0.5908 GB, free: 13.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4524, allocations: 8 kB / 0.5908 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4524, allocations: 0 / 0.5908 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.4524, allocations: 4 kB / 0.5908 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.4525, allocations: 23.98 kB / 0.5908 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.4526, allocations: 4 kB / 0.5908 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.4527, allocations: 23.86 kB / 0.5908 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.4527, allocations: 7.938 kB / 0.5908 GB, free: 13.58 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 (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 6.817e-05/0.4528, allocations: 101 kB / 0.5909 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.4528, allocations: 43.44 kB / 0.591 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.4531, allocations: 141.5 kB / 0.5911 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4531, allocations: 7.906 kB / 0.5911 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4531, allocations: 4 kB / 0.5911 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4531, allocations: 0 / 0.5911 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000713/0.4538, allocations: 0.5731 MB / 0.5917 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4539, allocations: 3.938 kB / 0.5917 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.454, allocations: 23.98 kB / 0.5917 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.454, allocations: 7.906 kB / 0.5917 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.454, allocations: 0 / 0.5917 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.454, allocations: 0 / 0.5917 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.454, allocations: 0 / 0.5917 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002074/0.4542, allocations: 227.1 kB / 0.5919 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.4544, allocations: 160.5 kB / 0.5921 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.4545, allocations: 0 / 0.5921 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.4546, allocations: 15.98 kB / 0.5921 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.4547, allocations: 7.984 kB / 0.5921 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.4547, allocations: 4 kB / 0.5921 GB, free: 12.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006363/0.4553, allocations: 0.6082 MB / 0.5927 GB, free: 11.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003027/0.4556, allocations: 56 kB / 0.5927 GB, free: 11.52 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 (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.0006358/0.4563, allocations: 306.9 kB / 0.593 GB, free: 11.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.4564, allocations: 59.91 kB / 0.5931 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4564, allocations: 0 / 0.5931 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.541e-05/0.4565, allocations: 24 kB / 0.5931 GB, free: 11.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.4567, allocations: 25.86 kB / 0.5931 GB, free: 11.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.4579, allocations: 0.7242 MB / 0.5938 GB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/0.4584, allocations: 0.8567 MB / 0.5947 GB, free: 9.547 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4584, allocations: 0 / 0.5947 GB, free: 9.547 MB / 410.7 MB Notification: Performance of Templates: time 0.00566/0.464, allocations: 2.369 MB / 0.597 GB, free: 7.172 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches