Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19") translateModel(ModelicaTest.Tables.CombiTable2D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002152/0.002152, allocations: 172.3 kB / 8.144 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001691/0.001691, allocations: 88.56 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2576/0.2576, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.053e-05/1.069e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2936, allocations: 58.83 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.4541, allocations: 87.59 MB / 0.5509 GB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.4545, allocations: 75.94 kB / 0.551 GB, free: 11.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03405/0.4886, allocations: 7.807 MB / 0.5586 GB, free: 3.598 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.561e-05/0.4887, allocations: 12 kB / 0.5586 GB, free: 3.586 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007612/0.4894, allocations: 0.5247 MB / 0.5591 GB, free: 3.016 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.4895, allocations: 8.031 kB / 0.5591 GB, free: 3.008 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.4896, allocations: 43.44 kB / 0.5592 GB, free: 2.965 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008091/0.4904, allocations: 337.2 kB / 0.5595 GB, free: 2.594 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.4905, allocations: 0 / 0.5595 GB, free: 2.594 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.4905, allocations: 4 kB / 0.5595 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001717/0.4907, allocations: 32 kB / 0.5595 GB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.4909, allocations: 67.09 kB / 0.5596 GB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4909, allocations: 0 / 0.5596 GB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.4909, allocations: 4 kB / 0.5596 GB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4909, allocations: 0 / 0.5596 GB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000848/0.4918, allocations: 429 kB / 0.56 GB, free: 2.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.4919, allocations: 46.48 kB / 0.5601 GB, free: 1.973 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.228e-05/0.492, allocations: 20.98 kB / 0.5601 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.4921, allocations: 8 kB / 0.5601 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.4921, allocations: 34.8 kB / 0.5601 GB, free: 1.898 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.4921, allocations: 0 / 0.5601 GB, free: 1.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003406/0.4925, allocations: 97.25 kB / 0.5602 GB, free: 1.797 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.4925, allocations: 51.41 kB / 0.5603 GB, free: 1.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009876/0.4935, allocations: 473 kB / 0.5607 GB, free: 1.266 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.4936, allocations: 25.7 kB / 0.5607 GB, free: 1.234 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/0.4937, allocations: 158.7 kB / 0.5609 GB, free: 1.074 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.4937, allocations: 27.7 kB / 0.5609 GB, free: 1.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.4937, allocations: 0 / 0.5609 GB, free: 1.047 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4939, allocations: 310.8 kB / 0.5612 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-05/0.4939, allocations: 12 kB / 0.5612 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.192e-05/0.494, allocations: 12 kB / 0.5612 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.966e-05/0.4941, allocations: 19.98 kB / 0.5612 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4941, allocations: 0 / 0.5612 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001849/0.4943, allocations: 61.69 kB / 0.5613 GB, free: 0.625 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4943, allocations: 11.22 kB / 0.5613 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4943, allocations: 4 kB / 0.5613 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.4944, allocations: 3.938 kB / 0.5613 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.4946, allocations: 15.91 kB / 0.5613 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.4946, allocations: 0 / 0.5613 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.296e-05/0.4947, allocations: 7.984 kB / 0.5613 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.4947, allocations: 8 kB / 0.5614 GB, free: 0.5781 MB / 394.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 (6): * Single equations (assignments): 6 * 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 5.716e-05/0.4948, allocations: 31.11 kB / 0.5614 GB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.4949, allocations: 35.53 kB / 0.5614 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/0.4953, allocations: 117.2 kB / 0.5615 GB, free: 392 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.4953, allocations: 7.844 kB / 0.5615 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.4953, allocations: 12 kB / 0.5615 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4953, allocations: 0 / 0.5615 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.4958, allocations: 274 kB / 0.5618 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4958, allocations: 0 / 0.5618 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.4959, allocations: 12 kB / 0.5618 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.4959, allocations: 7.891 kB / 0.5618 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.4959, allocations: 4 kB / 0.5618 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.496, allocations: 0 / 0.5618 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.496, allocations: 0 / 0.5618 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002987/0.4963, allocations: 191.1 kB / 0.562 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.4965, allocations: 144.6 kB / 0.5622 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/0.4966, allocations: 0 / 0.5622 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.4968, allocations: 4 kB / 0.5622 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.4968, allocations: 8 kB / 0.5622 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.4968, allocations: 11.97 kB / 0.5622 GB, free: 15.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006974/0.4975, allocations: 371.2 kB / 0.5625 GB, free: 15.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004194/0.498, allocations: 51.83 kB / 0.5626 GB, free: 15.24 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 (6): * Single equations (assignments): 6 * 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.001315/0.4993, allocations: 435.2 kB / 0.563 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.4995, allocations: 32 kB / 0.563 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4995, allocations: 0 / 0.563 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.858e-05/0.4996, allocations: 23.94 kB / 0.563 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007138/0.5003, allocations: 72.22 kB / 0.5631 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.5018, allocations: 486.3 kB / 0.5636 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006982/0.5025, allocations: 0.8289 MB / 0.5644 GB, free: 13.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5025, allocations: 0 / 0.5644 GB, free: 13.38 MB / 410.7 MB Notification: Performance of Templates: time 0.01011/0.5127, allocations: 3.961 MB / 0.5683 GB, free: 9.402 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches