Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001358/0.001358, allocations: 176.1 kB / 8.518 MB, free: 1.852 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.286/1.286, allocations: 221.4 MB / 230.3 MB, free: 7.703 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.0009488/0.0009487, allocations: 94.77 kB / 281.2 MB, free: 5.512 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.1762/0.1762, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.514e-06/7.554e-06, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1207, allocations: 61.91 MB / 0.4941 GB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3027/0.4235, allocations: 89.22 MB / 0.5812 GB, free: 7.523 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.4238, allocations: 73.77 kB / 0.5813 GB, free: 7.484 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0228/0.4466, allocations: 8.65 MB / 0.5897 GB, free: 14.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.287e-05/0.4467, allocations: 12 kB / 0.5897 GB, free: 14.84 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.0006691/0.4474, allocations: 0.6374 MB / 0.5904 GB, free: 14.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4474, allocations: 11.97 kB / 0.5904 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.89e-05/0.4475, allocations: 55.34 kB / 0.5904 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000653/0.4482, allocations: 478.9 kB / 0.5909 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.4482, allocations: 4 kB / 0.5909 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.4482, allocations: 4 kB / 0.5909 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001503/0.4484, allocations: 71.97 kB / 0.591 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.4486, allocations: 132 kB / 0.5911 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.4486, allocations: 7.984 kB / 0.5911 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.4486, allocations: 0 / 0.5911 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.4487, allocations: 3.906 kB / 0.5911 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009342/0.4496, allocations: 0.6974 MB / 0.5918 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.4497, allocations: 87.47 kB / 0.5919 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.4498, allocations: 33.84 kB / 0.5919 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.4498, allocations: 4 kB / 0.5919 GB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.4499, allocations: 34.55 kB / 0.5919 GB, free: 12.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.4499, allocations: 4 kB / 0.5919 GB, free: 12.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.00106/0.451, allocations: 454.1 kB / 0.5924 GB, free: 11.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.451, allocations: 89.02 kB / 0.5925 GB, free: 11.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008503/0.4519, allocations: 0.7405 MB / 0.5932 GB, free: 11.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.4519, allocations: 29.7 kB / 0.5932 GB, free: 11.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.626e-05/0.452, allocations: 156.2 kB / 0.5934 GB, free: 10.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.4521, allocations: 51.2 kB / 0.5934 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-06/0.4521, allocations: 0 / 0.5934 GB, free: 10.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4522, allocations: 366.8 kB / 0.5938 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.4523, allocations: 43.98 kB / 0.5938 GB, free: 10.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.545e-05/0.4524, allocations: 69.64 kB / 0.5939 GB, free: 10.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.095e-05/0.4525, allocations: 51.97 kB / 0.5939 GB, free: 10.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4525, allocations: 0 / 0.5939 GB, free: 10.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002895/0.4528, allocations: 197 kB / 0.5941 GB, free: 10.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.4528, allocations: 4 kB / 0.5941 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4528, allocations: 0 / 0.5941 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4528, allocations: 0 / 0.5941 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.4531, allocations: 47.91 kB / 0.5942 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.4531, allocations: 4 kB / 0.5942 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.4532, allocations: 19.89 kB / 0.5942 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.4533, allocations: 8 kB / 0.5942 GB, free: 10.06 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.168e-05/0.4533, allocations: 108.9 kB / 0.5943 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.4534, allocations: 51.34 kB / 0.5943 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004476/0.4539, allocations: 254.4 kB / 0.5946 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4539, allocations: 4 kB / 0.5946 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4539, allocations: 7.938 kB / 0.5946 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4539, allocations: 0 / 0.5946 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.4549, allocations: 0.7987 MB / 0.5954 GB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.455, allocations: 0 / 0.5954 GB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.4551, allocations: 51.91 kB / 0.5954 GB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.4552, allocations: 3.984 kB / 0.5954 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.4552, allocations: 7.906 kB / 0.5954 GB, free: 8.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4552, allocations: 0 / 0.5954 GB, free: 8.719 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4552, allocations: 0 / 0.5954 GB, free: 8.719 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003566/0.4555, allocations: 386.9 kB / 0.5958 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.4558, allocations: 184.3 kB / 0.596 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/0.4558, allocations: 0 / 0.596 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.456, allocations: 15.98 kB / 0.596 GB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.4561, allocations: 11.98 kB / 0.596 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.4561, allocations: 4 kB / 0.596 GB, free: 8.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005975/0.4567, allocations: 0.5926 MB / 0.5966 GB, free: 7.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003712/0.4571, allocations: 63.94 kB / 0.5966 GB, free: 7.438 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.0005986/0.4577, allocations: 305.7 kB / 0.5969 GB, free: 7.215 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.458, allocations: 119.9 kB / 0.5971 GB, free: 7.098 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.458, allocations: 0 / 0.5971 GB, free: 7.098 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.918e-05/0.4581, allocations: 63.92 kB / 0.5971 GB, free: 7.035 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.4585, allocations: 75.92 kB / 0.5972 GB, free: 6.965 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.4597, allocations: 0.7204 MB / 0.5979 GB, free: 6.199 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/0.4603, allocations: 0.9268 MB / 0.5988 GB, free: 5.25 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4603, allocations: 0 / 0.5988 GB, free: 5.25 MB / 410.7 MB Notification: Performance of Templates: time 0.007713/0.468, allocations: 3.783 MB / 0.6025 GB, free: 1.496 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches