Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") [: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.001278/0.001278, allocations: 183.1 kB / 8.52 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.243/1.243, allocations: 221.4 MB / 230.3 MB, free: 7.652 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.0008668/0.0008668, allocations: 82.48 kB / 281.2 MB, free: 5.457 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.1719/0.1719, allocations: 44.14 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.035e-06, allocations: 4.219 kB / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1223, allocations: 61.91 MB / 0.4941 GB, free: 1.605 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2973/0.4196, allocations: 88.76 MB / 0.5808 GB, free: 7.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.42, allocations: 80.34 kB / 0.5809 GB, free: 7.938 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02178/0.4418, allocations: 8.446 MB / 0.5891 GB, free: 15.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.569e-05/0.4418, allocations: 4 kB / 0.5891 GB, free: 15.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006903/0.4425, allocations: 0.6297 MB / 0.5897 GB, free: 14.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.4426, allocations: 11.97 kB / 0.5897 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.41e-05/0.4427, allocations: 51.34 kB / 0.5898 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006479/0.4433, allocations: 471 kB / 0.5902 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.4434, allocations: 4 kB / 0.5902 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.4434, allocations: 7.984 kB / 0.5902 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001282/0.4435, allocations: 52 kB / 0.5903 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.4437, allocations: 108.1 kB / 0.5904 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.4437, allocations: 4 kB / 0.5904 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.4438, allocations: 0 / 0.5904 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4438, allocations: 0 / 0.5904 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008898/0.4447, allocations: 0.6741 MB / 0.5911 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.4448, allocations: 79.55 kB / 0.5911 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.4449, allocations: 33.83 kB / 0.5912 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.4449, allocations: 4 kB / 0.5912 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.4449, allocations: 42.5 kB / 0.5912 GB, free: 13.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.4449, allocations: 0 / 0.5912 GB, free: 13.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001039/0.446, allocations: 418.2 kB / 0.5916 GB, free: 12.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.446, allocations: 77.11 kB / 0.5917 GB, free: 12.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008542/0.4469, allocations: 0.7404 MB / 0.5924 GB, free: 11.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.4469, allocations: 25.7 kB / 0.5924 GB, free: 11.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.447, allocations: 156.2 kB / 0.5926 GB, free: 11.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.447, allocations: 51.2 kB / 0.5926 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-06/0.4471, allocations: 4 kB / 0.5926 GB, free: 11.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.4472, allocations: 370.8 kB / 0.593 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.4473, allocations: 32 kB / 0.593 GB, free: 11.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.53e-05/0.4474, allocations: 45.72 kB / 0.5931 GB, free: 11.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.015e-05/0.4475, allocations: 47.97 kB / 0.5931 GB, free: 11.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4475, allocations: 4 kB / 0.5931 GB, free: 11.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002716/0.4478, allocations: 180.8 kB / 0.5933 GB, free: 10.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.4478, allocations: 8 kB / 0.5933 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.4478, allocations: 0 / 0.5933 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4478, allocations: 0 / 0.5933 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.448, allocations: 39.97 kB / 0.5933 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.448, allocations: 4 kB / 0.5933 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.4482, allocations: 19.98 kB / 0.5933 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.4482, allocations: 11.94 kB / 0.5934 GB, free: 10.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 7.929e-05/0.4483, allocations: 105 kB / 0.5935 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.4484, allocations: 55.25 kB / 0.5935 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004227/0.4489, allocations: 226.1 kB / 0.5937 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.4489, allocations: 4 kB / 0.5937 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.4489, allocations: 0 / 0.5937 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4489, allocations: 3.984 kB / 0.5937 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009118/0.4498, allocations: 0.7712 MB / 0.5945 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4498, allocations: 112 / 0.5945 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.45, allocations: 47.84 kB / 0.5945 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.45, allocations: 4 kB / 0.5945 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.45, allocations: 4 kB / 0.5945 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.45, allocations: 4 kB / 0.5945 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4501, allocations: 4 kB / 0.5945 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000333/0.4504, allocations: 355.8 kB / 0.5949 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.4506, allocations: 176.4 kB / 0.5951 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.4507, allocations: 4 kB / 0.5951 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.4509, allocations: 20.36 kB / 0.5951 GB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.451, allocations: 11.98 kB / 0.5951 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.451, allocations: 4 kB / 0.5951 GB, free: 9.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006345/0.4516, allocations: 0.5847 MB / 0.5957 GB, free: 8.438 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003629/0.452, allocations: 67.94 kB / 0.5957 GB, free: 8.371 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0006226/0.4526, allocations: 306.1 kB / 0.596 GB, free: 8.145 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.4529, allocations: 99.92 kB / 0.5961 GB, free: 8.047 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4529, allocations: 0 / 0.5961 GB, free: 8.047 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.327e-05/0.453, allocations: 59.92 kB / 0.5962 GB, free: 7.988 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.4534, allocations: 63.94 kB / 0.5962 GB, free: 7.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.4546, allocations: 0.6932 MB / 0.5969 GB, free: 7.195 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/0.4551, allocations: 0.9066 MB / 0.5978 GB, free: 6.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.4551, allocations: 0 / 0.5978 GB, free: 6.27 MB / 410.7 MB Notification: Performance of Templates: time 0.007889/0.463, allocations: 3.666 MB / 0.6014 GB, free: 2.617 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches