Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [: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.001098/0.001098, allocations: 187.3 kB / 8.523 MB, free: 1.766 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.304/1.304, allocations: 221.4 MB / 230.3 MB, free: 7.773 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.001138/0.001138, allocations: 96.66 kB / 281.2 MB, free: 5.527 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.1828/0.1828, allocations: 44.14 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.764e-06/7.774e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.132, allocations: 61.91 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3482/0.4802, allocations: 87.69 MB / 0.5797 GB, free: 9.074 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.4805, allocations: 77.44 kB / 0.5798 GB, free: 9.035 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01567/0.4962, allocations: 7.373 MB / 0.587 GB, free: 1.672 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.4962, allocations: 8 kB / 0.587 GB, free: 1.664 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004485/0.4967, allocations: 0.5508 MB / 0.5875 GB, free: 1.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.4967, allocations: 13.47 kB / 0.5875 GB, free: 1.059 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.4968, allocations: 43.44 kB / 0.5876 GB, free: 1.016 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.4972, allocations: 323.4 kB / 0.5879 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.4972, allocations: 3.984 kB / 0.5879 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.4972, allocations: 11.94 kB / 0.5879 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.158e-05/0.4973, allocations: 12 kB / 0.5879 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.763e-05/0.4974, allocations: 41.64 kB / 0.588 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4974, allocations: 0 / 0.588 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.4974, allocations: 0 / 0.588 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.4974, allocations: 0 / 0.588 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.4979, allocations: 417.1 kB / 0.5884 GB, free: 144 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.4981, allocations: 37.7 kB / 0.5884 GB, free: 100 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.4981, allocations: 12.8 kB / 0.5884 GB, free: 84 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.4981, allocations: 4 kB / 0.5884 GB, free: 80 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.4982, allocations: 30.56 kB / 0.5884 GB, free: 40 kB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4982, allocations: 0 / 0.5884 GB, free: 40 kB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004544/0.4986, allocations: 180.3 kB / 0.5886 GB, free: 15.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.4987, allocations: 51.41 kB / 0.5887 GB, free: 15.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.4997, allocations: 0.7512 MB / 0.5894 GB, free: 15.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.4997, allocations: 25.7 kB / 0.5894 GB, free: 15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.4998, allocations: 136 kB / 0.5896 GB, free: 14.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.4998, allocations: 15.75 kB / 0.5896 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.4998, allocations: 0 / 0.5896 GB, free: 14.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4999, allocations: 366.7 kB / 0.5899 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.279e-05/0.5, allocations: 19.83 kB / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.731e-05/0.5, allocations: 8 kB / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.302e-05/0.5, allocations: 4 kB / 0.5899 GB, free: 14.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.5, allocations: 0 / 0.5899 GB, free: 14.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001287/0.5002, allocations: 97.12 kB / 0.59 GB, free: 14.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.5002, allocations: 4 kB / 0.59 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.5002, allocations: 0 / 0.59 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.5002, allocations: 0 / 0.59 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.181e-05/0.5003, allocations: 19.98 kB / 0.5901 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.5003, allocations: 0 / 0.5901 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.087e-05/0.5004, allocations: 8 kB / 0.5901 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.5004, allocations: 4 kB / 0.5901 GB, free: 14.32 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 (5): * Single equations (assignments): 5 * 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 6.232e-05/0.5004, allocations: 112.8 kB / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.315e-05/0.5005, allocations: 39.44 kB / 0.5902 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.5007, allocations: 113.2 kB / 0.5903 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5007, allocations: 0 / 0.5903 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5007, allocations: 0 / 0.5903 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5007, allocations: 3.984 kB / 0.5903 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.5013, allocations: 0.5421 MB / 0.5909 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5014, allocations: 0 / 0.5909 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.395e-05/0.5014, allocations: 15.98 kB / 0.5909 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.5014, allocations: 4 kB / 0.5909 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.5015, allocations: 3.938 kB / 0.5909 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5015, allocations: 4 kB / 0.5909 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5015, allocations: 0 / 0.5909 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001513/0.5016, allocations: 191 kB / 0.5911 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.5018, allocations: 160.7 kB / 0.5912 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.5019, allocations: 0 / 0.5912 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.502, allocations: 8 kB / 0.5912 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.502, allocations: 11.97 kB / 0.5912 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.502, allocations: 0 / 0.5912 GB, free: 13.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000607/0.5026, allocations: 0.6082 MB / 0.5918 GB, free: 12.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003232/0.503, allocations: 55.94 kB / 0.5919 GB, free: 12.36 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 (5): * Single equations (assignments): 5 * 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.0006247/0.5036, allocations: 298.8 kB / 0.5922 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.899e-05/0.5037, allocations: 35.94 kB / 0.5922 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5037, allocations: 3.938 kB / 0.5922 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.227e-05/0.5038, allocations: 15.94 kB / 0.5922 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.504, allocations: 33.8 kB / 0.5923 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.5051, allocations: 0.688 MB / 0.5929 GB, free: 11.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/0.5055, allocations: 0.845 MB / 0.5938 GB, free: 10.46 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5056, allocations: 0 / 0.5938 GB, free: 10.46 MB / 410.7 MB Notification: Performance of Templates: time 0.005276/0.5108, allocations: 2.179 MB / 0.5959 GB, free: 8.273 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches