Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [: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.001531/0.001531, allocations: 179.4 kB / 8.517 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.316/1.316, allocations: 221.4 MB / 230.3 MB, free: 7.754 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.0009867/0.000987, allocations: 88.67 kB / 281.2 MB, free: 5.508 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.1854/0.1854, allocations: 44.14 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.333e-06/7.353e-06, allocations: 4.219 kB / 444 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1219, allocations: 61.91 MB / 0.4941 GB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3019/0.4238, allocations: 87.99 MB / 0.58 GB, free: 8.758 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.4242, allocations: 69.38 kB / 0.5801 GB, free: 8.727 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01743/0.4416, allocations: 7.55 MB / 0.5875 GB, free: 1.234 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.4417, allocations: 8 kB / 0.5875 GB, free: 1.227 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005072/0.4422, allocations: 0.5402 MB / 0.588 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.4422, allocations: 13.22 kB / 0.588 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.99e-05/0.4423, allocations: 43.44 kB / 0.588 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.4427, allocations: 331.3 kB / 0.5884 GB, free: 228 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.4428, allocations: 0 / 0.5884 GB, free: 228 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.4428, allocations: 3.984 kB / 0.5884 GB, free: 224 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.438e-05/0.4428, allocations: 19.94 kB / 0.5884 GB, free: 204 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.784e-05/0.4429, allocations: 41.69 kB / 0.5884 GB, free: 156 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.4429, allocations: 4 kB / 0.5884 GB, free: 152 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.443, allocations: 3.828 kB / 0.5884 GB, free: 152 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.443, allocations: 0 / 0.5884 GB, free: 152 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.4435, allocations: 413.3 kB / 0.5888 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.946e-05/0.4436, allocations: 26.58 kB / 0.5889 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.4436, allocations: 20.77 kB / 0.5889 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.4436, allocations: 0 / 0.5889 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.4437, allocations: 34.55 kB / 0.5889 GB, free: 15.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.4437, allocations: 0 / 0.5889 GB, free: 15.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001725/0.4438, allocations: 77.23 kB / 0.589 GB, free: 15.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.4439, allocations: 55.44 kB / 0.589 GB, free: 15.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.445, allocations: 0.7512 MB / 0.5898 GB, free: 14.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.445, allocations: 25.7 kB / 0.5898 GB, free: 14.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/0.4451, allocations: 140 kB / 0.5899 GB, free: 14.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.4451, allocations: 3.906 kB / 0.5899 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.4451, allocations: 0 / 0.5899 GB, free: 14.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4452, allocations: 358.8 kB / 0.5903 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.4453, allocations: 8 kB / 0.5903 GB, free: 14.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.209e-05/0.4453, allocations: 8 kB / 0.5903 GB, free: 14.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.31e-05/0.4453, allocations: 8 kB / 0.5903 GB, free: 14.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4453, allocations: 3.938 kB / 0.5903 GB, free: 14.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001354/0.4455, allocations: 81.12 kB / 0.5904 GB, free: 14.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.4455, allocations: 4 kB / 0.5904 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4455, allocations: 0 / 0.5904 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.4455, allocations: 4 kB / 0.5904 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.4456, allocations: 4 kB / 0.5904 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.4456, allocations: 8.031 kB / 0.5904 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.4457, allocations: 7.984 kB / 0.5904 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.4457, allocations: 4 kB / 0.5904 GB, free: 14.02 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 (2): * Single equations (assignments): 2 * 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.405e-05/0.4457, allocations: 108.8 kB / 0.5905 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.19e-05/0.4458, allocations: 39.53 kB / 0.5905 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.446, allocations: 100.6 kB / 0.5906 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.446, allocations: 0 / 0.5906 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.446, allocations: 7.891 kB / 0.5907 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.446, allocations: 4.031 kB / 0.5907 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.4463, allocations: 294 kB / 0.5909 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.4463, allocations: 3.938 kB / 0.5909 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.4463, allocations: 11.98 kB / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4464, allocations: 0 / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.4464, allocations: 0 / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4464, allocations: 3.984 kB / 0.591 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4464, allocations: 0 / 0.591 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001584/0.4465, allocations: 183 kB / 0.5911 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.4467, allocations: 160.5 kB / 0.5913 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.4468, allocations: 8 kB / 0.5913 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.244e-05/0.4469, allocations: 0 / 0.5913 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.4469, allocations: 4 kB / 0.5913 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.4469, allocations: 0 / 0.5913 GB, free: 13.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005863/0.4475, allocations: 0.6082 MB / 0.5919 GB, free: 12.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.4478, allocations: 63.86 kB / 0.5919 GB, free: 12.35 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 (2): * Single equations (assignments): 2 * 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.0005064/0.4483, allocations: 261.3 kB / 0.5922 GB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.937e-05/0.4484, allocations: 19.98 kB / 0.5922 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4484, allocations: 0 / 0.5922 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.953e-05/0.4484, allocations: 8 kB / 0.5922 GB, free: 12.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.4487, allocations: 17.97 kB / 0.5922 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.4499, allocations: 0.6914 MB / 0.5929 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004446/0.4503, allocations: 0.8489 MB / 0.5937 GB, free: 10.51 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4503, allocations: 4 kB / 0.5937 GB, free: 10.51 MB / 410.7 MB Notification: Performance of Templates: time 0.005458/0.4558, allocations: 1.963 MB / 0.5957 GB, free: 8.539 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches