Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.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/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/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(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="L|N|Time|Time_bak|_derdummy|_dummy|dx.1.|dx.2.|dx.3.",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="L|N|Time|Time_bak|_derdummy|_dummy|dx.1.|dx.2.|dx.3.",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") [: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.005215/0.005214, allocations: 177.2 kB / 7.461 MB, free: 2.484 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.671/1.671, allocations: 221.4 MB / 229.3 MB, free: 3.035 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.001123/0.001123, allocations: 93.84 kB / 280.1 MB, free: 1.316 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1048/0.1048, allocations: 20.16 MB / 351.1 MB, free: 10.39 MB / 298.7 MB [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Components/Sensors/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TinySensorGas_L1_O2dry [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/PressureLoss/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: ShellType_L3 TubeType_L2 TubeType_L3 ShellType_L2 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/HeatTransport/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: ShellType_L3 TubeType_L2 TubeType_L3 ShellType_L2 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/FluidVolumes/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: VolumeVLE_2 VolumeVLE_3_TwoZones Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 1.1/1.1, allocations: 127.6 MB / 0.5229 GB, free: 4.73 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 9.087e-06/9.218e-06, allocations: 4 kB / 0.6104 GB, free: 10.94 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5744/0.5744, allocations: 82.83 MB / 0.6913 GB, free: 33.65 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1828/0.7573, allocations: 116.8 MB / 0.8053 GB, free: 8.914 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.7575, allocations: 73.2 kB / 0.8054 GB, free: 8.844 MB / 0.5418 GB Notification: Performance of FrontEnd: time 0.008982/0.7665, allocations: 2.805 MB / 0.8081 GB, free: 6.074 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.7666, allocations: 0 / 0.8081 GB, free: 6.074 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003633/0.767, allocations: 338.3 kB / 0.8085 GB, free: 5.699 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.767, allocations: 8.031 kB / 0.8085 GB, free: 5.691 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.7671, allocations: 8.562 kB / 0.8085 GB, free: 5.684 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.7673, allocations: 163.6 kB / 0.8086 GB, free: 5.484 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.7673, allocations: 3.984 kB / 0.8086 GB, free: 5.48 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.7673, allocations: 1.906 kB / 0.8086 GB, free: 5.48 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.616e-05/0.7674, allocations: 8 kB / 0.8086 GB, free: 5.473 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.787e-05/0.7675, allocations: 29.7 kB / 0.8087 GB, free: 5.438 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.7675, allocations: 0 / 0.8087 GB, free: 5.438 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.7675, allocations: 0.5625 kB / 0.8087 GB, free: 5.438 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.7675, allocations: 0 / 0.8087 GB, free: 5.438 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.7677, allocations: 140.8 kB / 0.8088 GB, free: 5.266 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 6.975e-05/0.7678, allocations: 30.52 kB / 0.8088 GB, free: 5.227 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.7678, allocations: 16.97 kB / 0.8089 GB, free: 5.207 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.7678, allocations: 0 / 0.8089 GB, free: 5.207 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.7679, allocations: 35.41 kB / 0.8089 GB, free: 5.164 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/0.7679, allocations: 1.75 kB / 0.8089 GB, free: 5.164 MB / 0.5418 GB Notification: Performance of matching and sorting (n=3): time 0.0002431/0.7681, allocations: 41.69 kB / 0.8089 GB, free: 5.117 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.7682, allocations: 51.41 kB / 0.809 GB, free: 5.055 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.7683, allocations: 94.88 kB / 0.8091 GB, free: 4.957 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.7683, allocations: 28.98 kB / 0.8091 GB, free: 4.926 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.7683, allocations: 84.14 kB / 0.8092 GB, free: 4.84 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.7684, allocations: 7.844 kB / 0.8092 GB, free: 4.832 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.7684, allocations: 0 / 0.8092 GB, free: 4.832 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.7685, allocations: 312 kB / 0.8095 GB, free: 4.52 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.7685, allocations: 15.92 kB / 0.8095 GB, free: 4.504 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.126e-05/0.7685, allocations: 4.781 kB / 0.8095 GB, free: 4.5 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.926e-05/0.7686, allocations: 8.719 kB / 0.8095 GB, free: 4.492 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7686, allocations: 0 / 0.8095 GB, free: 4.492 MB / 0.5418 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.096e-05/0.7687, allocations: 46.38 kB / 0.8096 GB, free: 4.441 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.7687, allocations: 8 kB / 0.8096 GB, free: 4.434 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7688, allocations: 1.094 kB / 0.8096 GB, free: 4.434 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.7688, allocations: 0 / 0.8096 GB, free: 4.434 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.7688, allocations: 3.938 kB / 0.8096 GB, free: 4.43 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.7688, allocations: 4 kB / 0.8096 GB, free: 4.43 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.604e-05/0.7688, allocations: 0.8438 kB / 0.8096 GB, free: 4.43 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.7688, allocations: 0 / 0.8096 GB, free: 4.43 MB / 0.5418 GB 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 8.037e-05/0.7689, allocations: 114.5 kB / 0.8097 GB, free: 4.312 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.7689, allocations: 5.312 kB / 0.8097 GB, free: 4.309 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.769, allocations: 3.688 kB / 0.8097 GB, free: 4.301 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.769, allocations: 0 / 0.8097 GB, free: 4.301 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.769, allocations: 3.188 kB / 0.8097 GB, free: 4.301 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.769, allocations: 4 kB / 0.8097 GB, free: 4.297 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.7691, allocations: 130.2 kB / 0.8098 GB, free: 4.133 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.7691, allocations: 4 kB / 0.8098 GB, free: 4.129 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-06/0.7691, allocations: 3.906 kB / 0.8098 GB, free: 4.125 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.7691, allocations: 0 / 0.8098 GB, free: 4.125 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.7692, allocations: 3.938 kB / 0.8098 GB, free: 4.121 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7692, allocations: 0 / 0.8098 GB, free: 4.121 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.7692, allocations: 0 / 0.8098 GB, free: 4.121 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001187/0.7693, allocations: 76.53 kB / 0.8099 GB, free: 4.031 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.7694, allocations: 81.02 kB / 0.81 GB, free: 3.934 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.7694, allocations: 0 / 0.81 GB, free: 3.934 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.557e-06/0.7694, allocations: 0 / 0.81 GB, free: 3.934 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.7694, allocations: 0 / 0.81 GB, free: 3.934 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.7694, allocations: 12.61 kB / 0.81 GB, free: 3.926 MB / 0.5418 GB Notification: Performance of sort global known variables: time 3.809e-05/0.7695, allocations: 75.28 kB / 0.8101 GB, free: 3.852 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002508/0.7697, allocations: 16 kB / 0.8101 GB, free: 3.836 MB / 0.5418 GB 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0002193/0.7699, allocations: 114.4 kB / 0.8102 GB, free: 3.719 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.7701, allocations: 19.94 kB / 0.8102 GB, free: 3.699 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.7701, allocations: 0 / 0.8102 GB, free: 3.699 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 2.526e-05/0.7701, allocations: 11.94 kB / 0.8102 GB, free: 3.688 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.7702, allocations: 4.844 kB / 0.8102 GB, free: 3.684 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002212/0.7705, allocations: 64.97 kB / 0.8103 GB, free: 3.598 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003843/0.7709, allocations: 0.6915 MB / 0.811 GB, free: 2.883 MB / 0.5418 GB Notification: Performance of SimCode: time 7.11e-07/0.7709, allocations: 1.156 kB / 0.811 GB, free: 2.883 MB / 0.5418 GB Notification: Performance of Templates: time 0.003215/0.7741, allocations: 0.6454 MB / 0.8116 GB, free: 2.297 MB / 0.5418 GB make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.makefile (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.sim & ./ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestGenerateGrid.mat","../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches