Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 172 kB / 8.517 MB, free: 1.844 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.338/1.338, allocations: 221.4 MB / 230.3 MB, free: 7.637 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.0009204/0.0009204, allocations: 93.97 kB / 281.2 MB, free: 5.449 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.1994/0.1994, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.679e-05, allocations: 4.219 kB / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1298, allocations: 61.91 MB / 0.4941 GB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3545/0.4844, allocations: 90.24 MB / 0.5822 GB, free: 6.547 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.4847, allocations: 71.25 kB / 0.5823 GB, free: 6.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02203/0.5067, allocations: 8.478 MB / 0.5906 GB, free: 14.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.105e-05/0.5068, allocations: 15.94 kB / 0.5906 GB, free: 14 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005883/0.5074, allocations: 0.5444 MB / 0.5911 GB, free: 13.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.5074, allocations: 11.97 kB / 0.5911 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.407e-05/0.5075, allocations: 51.42 kB / 0.5912 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000518/0.508, allocations: 353.1 kB / 0.5915 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.5081, allocations: 4 kB / 0.5915 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.5081, allocations: 11.91 kB / 0.5915 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001511/0.5082, allocations: 67.98 kB / 0.5916 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.5084, allocations: 105.6 kB / 0.5917 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.5084, allocations: 0 / 0.5917 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.5085, allocations: 0 / 0.5917 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.5085, allocations: 4 kB / 0.5917 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006773/0.5091, allocations: 0.4968 MB / 0.5922 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.5093, allocations: 109.5 kB / 0.5923 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.799e-05/0.5094, allocations: 28.86 kB / 0.5923 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.5094, allocations: 8 kB / 0.5923 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.5094, allocations: 34.56 kB / 0.5924 GB, free: 12.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.5094, allocations: 0 / 0.5924 GB, free: 12.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007332/0.5102, allocations: 363.8 kB / 0.5927 GB, free: 11.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.5102, allocations: 55.41 kB / 0.5928 GB, free: 11.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005213/0.5107, allocations: 481 kB / 0.5932 GB, free: 11.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.5108, allocations: 29.7 kB / 0.5932 GB, free: 11.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.5108, allocations: 132.4 kB / 0.5934 GB, free: 10.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.5109, allocations: 55.11 kB / 0.5934 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.5109, allocations: 0 / 0.5934 GB, free: 10.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5111, allocations: 354.8 kB / 0.5938 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.5111, allocations: 51.98 kB / 0.5938 GB, free: 10.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.309e-05/0.5112, allocations: 58 kB / 0.5939 GB, free: 10.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.243e-05/0.5113, allocations: 64.09 kB / 0.5939 GB, free: 10.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5113, allocations: 4 kB / 0.5939 GB, free: 10.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002736/0.5116, allocations: 207.4 kB / 0.5941 GB, free: 10.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.5116, allocations: 4 kB / 0.5941 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.5117, allocations: 4 kB / 0.5941 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.5117, allocations: 0 / 0.5941 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.5119, allocations: 39.91 kB / 0.5942 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.5119, allocations: 0 / 0.5942 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.777e-05/0.512, allocations: 12 kB / 0.5942 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.512, allocations: 4 kB / 0.5942 GB, free: 10.11 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 0.0001187/0.5121, allocations: 105 kB / 0.5943 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.455e-05/0.5122, allocations: 43.44 kB / 0.5943 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.5126, allocations: 265.1 kB / 0.5946 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5126, allocations: 4 kB / 0.5946 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5126, allocations: 0 / 0.5946 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5126, allocations: 4 kB / 0.5946 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008015/0.5135, allocations: 0.6767 MB / 0.5952 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5135, allocations: 4 kB / 0.5953 GB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.5136, allocations: 31.98 kB / 0.5953 GB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5136, allocations: 4 kB / 0.5953 GB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.5136, allocations: 4 kB / 0.5953 GB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5136, allocations: 0 / 0.5953 GB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.5136, allocations: 0 / 0.5953 GB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003123/0.514, allocations: 306.9 kB / 0.5956 GB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.5141, allocations: 144.5 kB / 0.5957 GB, free: 8.441 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.5142, allocations: 4 kB / 0.5957 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.5143, allocations: 8 kB / 0.5957 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.5143, allocations: 23.91 kB / 0.5958 GB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.5144, allocations: 7.984 kB / 0.5958 GB, free: 8.398 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000384/0.5148, allocations: 375.2 kB / 0.5961 GB, free: 8.031 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003333/0.5151, allocations: 67.92 kB / 0.5962 GB, free: 7.965 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.001024/0.5161, allocations: 0.5003 MB / 0.5967 GB, free: 7.582 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.5164, allocations: 147.8 kB / 0.5968 GB, free: 7.438 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5164, allocations: 0 / 0.5968 GB, free: 7.438 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.5165, allocations: 75.98 kB / 0.5969 GB, free: 7.363 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.5169, allocations: 59.16 kB / 0.5969 GB, free: 7.309 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008946/0.5178, allocations: 0.5453 MB / 0.5975 GB, free: 6.742 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/0.5183, allocations: 0.8604 MB / 0.5983 GB, free: 5.855 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5183, allocations: 0 / 0.5983 GB, free: 5.855 MB / 410.7 MB Notification: Performance of Templates: time 0.007189/0.5255, allocations: 3.765 MB / 0.602 GB, free: 2.113 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches