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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007918/0.007918, allocations: 171.4 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 223.2 MB / 239 MB, free: 32 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 102.8 kB / 290.2 MB, free: 4.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09612/0.09612, allocations: 20.31 MB / 361.6 MB, free: 8.738 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 0.8104/0.8104, allocations: 127.1 MB / 0.533 GB, free: 14.95 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004732, allocations: 19.98 kB / 0.6255 GB, free: 0.75 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2489, allocations: 82.84 MB / 0.7064 GB, free: 14.12 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7723/1.021, allocations: 117.6 MB / 0.8212 GB, free: 2.27 MB / 0.5262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003747/1.022, allocations: 79.89 kB / 0.8213 GB, free: 2.195 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 0.009084/1.031, allocations: 3.155 MB / 0.8243 GB, free: 15.04 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.805e-06/1.031, allocations: 0 / 0.8243 GB, free: 15.04 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.177e-05/1.031, allocations: 0 / 0.8243 GB, free: 15.04 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.0003951/1.031, allocations: 335.3 kB / 0.8247 GB, free: 14.67 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/1.031, allocations: 12.03 kB / 0.8247 GB, free: 14.66 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/1.031, allocations: 0.625 kB / 0.8247 GB, free: 14.66 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/1.032, allocations: 178.9 kB / 0.8249 GB, free: 14.44 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/1.032, allocations: 0 / 0.8249 GB, free: 14.44 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/1.032, allocations: 0 / 0.8249 GB, free: 14.44 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/1.032, allocations: 33.7 kB / 0.8249 GB, free: 14.4 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.032, allocations: 4 kB / 0.8249 GB, free: 14.4 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/1.032, allocations: 0 / 0.8249 GB, free: 14.4 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/1.032, allocations: 0 / 0.8249 GB, free: 14.4 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.687e-05/1.032, allocations: 15.48 kB / 0.8249 GB, free: 14.39 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/1.032, allocations: 149.6 kB / 0.825 GB, free: 14.19 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 8.215e-05/1.032, allocations: 38.61 kB / 0.8251 GB, free: 14.14 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/1.032, allocations: 0 / 0.8251 GB, free: 14.14 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/1.032, allocations: 38.59 kB / 0.8251 GB, free: 14.1 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/1.032, allocations: 0 / 0.8251 GB, free: 14.1 MB / 0.5418 GB Notification: Performance of matching and sorting (n=3): time 0.000216/1.033, allocations: 130.6 kB / 0.8252 GB, free: 13.95 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/1.033, allocations: 51.41 kB / 0.8253 GB, free: 13.89 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.228e-05/1.033, allocations: 101 kB / 0.8254 GB, free: 13.78 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/1.033, allocations: 25.7 kB / 0.8254 GB, free: 13.75 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/1.033, allocations: 80.14 kB / 0.8255 GB, free: 13.67 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/1.033, allocations: 15.77 kB / 0.8255 GB, free: 13.65 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/1.033, allocations: 0 / 0.8255 GB, free: 13.65 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001905/1.033, allocations: 318.8 kB / 0.8258 GB, free: 13.33 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/1.033, allocations: 4 kB / 0.8258 GB, free: 13.33 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.369e-05/1.033, allocations: 11.98 kB / 0.8258 GB, free: 13.32 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.096e-05/1.033, allocations: 4 kB / 0.8258 GB, free: 13.31 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.033, allocations: 4.156 kB / 0.8258 GB, free: 13.31 MB / 0.5418 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.677e-05/1.033, allocations: 45.62 kB / 0.8259 GB, free: 13.26 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.033, allocations: 10.97 kB / 0.8259 GB, free: 13.25 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.033, allocations: 0 / 0.8259 GB, free: 13.25 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/1.033, allocations: 192 / 0.8259 GB, free: 13.25 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/1.033, allocations: 0 / 0.8259 GB, free: 13.25 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.033, allocations: 0 / 0.8259 GB, free: 13.25 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.383e-05/1.033, allocations: 3.906 kB / 0.8259 GB, free: 13.25 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/1.033, allocations: 0 / 0.8259 GB, free: 13.25 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 () * Number of clocked 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 9.33e-05/1.033, allocations: 121.8 kB / 0.826 GB, free: 13.12 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-06/1.033, allocations: 3.984 kB / 0.826 GB, free: 13.11 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/1.033, allocations: 7.5 kB / 0.826 GB, free: 13.1 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/1.033, allocations: 4 kB / 0.826 GB, free: 13.1 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.033, allocations: 0 / 0.826 GB, free: 13.1 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.033, allocations: 0 / 0.826 GB, free: 13.1 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/1.034, allocations: 153.6 kB / 0.8262 GB, free: 12.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.034, allocations: 0 / 0.8262 GB, free: 12.9 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-07/1.034, allocations: 0 / 0.8262 GB, free: 12.9 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/1.034, allocations: 0 / 0.8262 GB, free: 12.9 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/1.034, allocations: 0 / 0.8262 GB, free: 12.9 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/1.034, allocations: 8 kB / 0.8262 GB, free: 12.89 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.034, allocations: 3.375 kB / 0.8262 GB, free: 12.89 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.5e-05/1.034, allocations: 69.38 kB / 0.8262 GB, free: 12.8 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/1.034, allocations: 81.06 kB / 0.8263 GB, free: 12.71 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/1.034, allocations: 7.984 kB / 0.8263 GB, free: 12.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-06/1.034, allocations: 0 / 0.8263 GB, free: 12.7 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/1.034, allocations: 0 / 0.8263 GB, free: 12.7 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/1.034, allocations: 0 / 0.8263 GB, free: 12.7 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 3.827e-05/1.034, allocations: 79.31 kB / 0.8264 GB, free: 12.62 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.383e-06/1.034, allocations: 4 kB / 0.8264 GB, free: 12.62 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002095/1.034, allocations: 19.94 kB / 0.8264 GB, free: 12.6 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 () * Number of clocked 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.0002014/1.034, allocations: 115.2 kB / 0.8265 GB, free: 12.48 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 8.176e-05/1.034, allocations: 12 kB / 0.8265 GB, free: 12.46 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.034, allocations: 0 / 0.8265 GB, free: 12.46 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 1.258e-05/1.034, allocations: 11.98 kB / 0.8266 GB, free: 12.45 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/1.035, allocations: 4.219 kB / 0.8266 GB, free: 12.45 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/1.035, allocations: 107.1 kB / 0.8267 GB, free: 12.32 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/1.035, allocations: 0.677 MB / 0.8273 GB, free: 11.61 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 2.192e-05/1.035, allocations: 8 kB / 0.8273 GB, free: 11.61 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/1.035, allocations: 7.438 kB / 0.8273 GB, free: 11.6 MB / 0.5418 GB Notification: Performance of SimCode: time 4.51e-07/1.035, allocations: 0 / 0.8273 GB, free: 11.6 MB / 0.5418 GB Notification: Performance of Templates: time 0.002868/1.038, allocations: 0.562 MB / 0.8279 GB, free: 11.04 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