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.001115/0.001115, allocations: 173.9 kB / 7.648 MB, free: 1.422 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.574/1.574, allocations: 221.5 MB / 229.6 MB, free: 7.527 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.001292/0.001292, allocations: 98.84 kB / 280.5 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09129/0.09129, allocations: 20.17 MB / 351.4 MB, free: 10.99 MB / 250.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.7399/0.7399, allocations: 127.6 MB / 0.5233 GB, free: 1.023 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.003e-05/2.015e-05, allocations: 4 kB / 0.611 GB, free: 7.789 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.558/0.558, allocations: 82.85 MB / 0.6919 GB, free: 3.148 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2035/0.7616, allocations: 116.9 MB / 0.806 GB, free: 12.36 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.7619, allocations: 75.83 kB / 0.8061 GB, free: 12.29 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.00808/0.77, allocations: 3.131 MB / 0.8092 GB, free: 9.148 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.613e-06/0.77, allocations: 0 / 0.8092 GB, free: 9.148 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.77, allocations: 0 / 0.8092 GB, free: 9.148 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.0002639/0.7703, allocations: 338.4 kB / 0.8095 GB, free: 8.773 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.7704, allocations: 12.03 kB / 0.8095 GB, free: 8.762 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.7704, allocations: 4 kB / 0.8095 GB, free: 8.758 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.7706, allocations: 167 kB / 0.8097 GB, free: 8.555 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.7706, allocations: 0 / 0.8097 GB, free: 8.555 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.7706, allocations: 0 / 0.8097 GB, free: 8.555 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.983e-05/0.7707, allocations: 4 kB / 0.8097 GB, free: 8.551 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.11e-05/0.7707, allocations: 37.69 kB / 0.8097 GB, free: 8.508 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.7708, allocations: 0 / 0.8097 GB, free: 8.508 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.7708, allocations: 0 / 0.8097 GB, free: 8.508 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.7708, allocations: 0 / 0.8097 GB, free: 8.508 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.771, allocations: 142.1 kB / 0.8098 GB, free: 8.332 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 6.695e-05/0.771, allocations: 38.55 kB / 0.8099 GB, free: 8.285 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.7711, allocations: 8.891 kB / 0.8099 GB, free: 8.273 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.7711, allocations: 0 / 0.8099 GB, free: 8.273 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.7711, allocations: 30.56 kB / 0.8099 GB, free: 8.234 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.7711, allocations: 0 / 0.8099 GB, free: 8.234 MB / 0.5418 GB Notification: Performance of matching and sorting (n=3): time 0.0001637/0.7713, allocations: 45.73 kB / 0.81 GB, free: 8.184 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.7713, allocations: 55.44 kB / 0.81 GB, free: 8.117 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.528e-05/0.7714, allocations: 89 kB / 0.8101 GB, free: 8.023 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.7714, allocations: 25.7 kB / 0.8101 GB, free: 7.992 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.7714, allocations: 80.14 kB / 0.8102 GB, free: 7.91 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.7715, allocations: 15.22 kB / 0.8102 GB, free: 7.898 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.7715, allocations: 0 / 0.8102 GB, free: 7.898 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.7716, allocations: 318.8 kB / 0.8105 GB, free: 7.578 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.7716, allocations: 7.938 kB / 0.8105 GB, free: 7.57 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-06/0.7716, allocations: 8.125 kB / 0.8105 GB, free: 7.562 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.115e-05/0.7717, allocations: 7.984 kB / 0.8105 GB, free: 7.555 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.7717, allocations: 3.953 kB / 0.8105 GB, free: 7.551 MB / 0.5418 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.816e-05/0.7718, allocations: 41.73 kB / 0.8106 GB, free: 7.504 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.7718, allocations: 8 kB / 0.8106 GB, free: 7.496 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.7718, allocations: 7.922 kB / 0.8106 GB, free: 7.488 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.7718, allocations: 0 / 0.8106 GB, free: 7.488 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.7718, allocations: 0 / 0.8106 GB, free: 7.488 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.7718, allocations: 0 / 0.8106 GB, free: 7.488 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.7718, allocations: 4 kB / 0.8106 GB, free: 7.484 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.7719, allocations: 8.062 kB / 0.8106 GB, free: 7.477 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 6.293e-05/0.7719, allocations: 108.8 kB / 0.8107 GB, free: 7.363 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.7719, allocations: 7.859 kB / 0.8107 GB, free: 7.355 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.498e-05/0.772, allocations: 4.125 kB / 0.8107 GB, free: 7.348 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.772, allocations: 4 kB / 0.8107 GB, free: 7.344 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.772, allocations: 0 / 0.8107 GB, free: 7.344 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.772, allocations: 0 / 0.8107 GB, free: 7.344 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.943e-05/0.7721, allocations: 130.2 kB / 0.8109 GB, free: 7.18 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.7721, allocations: 0 / 0.8109 GB, free: 7.18 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.7721, allocations: 0 / 0.8109 GB, free: 7.18 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.7721, allocations: 7.953 kB / 0.8109 GB, free: 7.172 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.7721, allocations: 3.938 kB / 0.8109 GB, free: 7.168 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.7721, allocations: 0 / 0.8109 GB, free: 7.168 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.7721, allocations: 0 / 0.8109 GB, free: 7.168 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.83e-05/0.7722, allocations: 69.44 kB / 0.8109 GB, free: 7.082 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.7723, allocations: 81.09 kB / 0.811 GB, free: 6.984 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.7723, allocations: 3.953 kB / 0.811 GB, free: 6.98 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-06/0.7723, allocations: 0 / 0.811 GB, free: 6.98 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-06/0.7723, allocations: 4.031 kB / 0.811 GB, free: 6.977 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.7723, allocations: 4 kB / 0.811 GB, free: 6.973 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 3.004e-05/0.7724, allocations: 75.28 kB / 0.8111 GB, free: 6.898 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7724, allocations: 0 / 0.8111 GB, free: 6.898 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.000205/0.7726, allocations: 19.09 kB / 0.8111 GB, free: 6.883 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.0001784/0.7728, allocations: 115.2 kB / 0.8112 GB, free: 6.758 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 6.677e-05/0.7728, allocations: 19.94 kB / 0.8112 GB, free: 6.738 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7728, allocations: 4.156 kB / 0.8112 GB, free: 6.734 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-05/0.7729, allocations: 7.984 kB / 0.8112 GB, free: 6.727 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.773, allocations: 1.25 kB / 0.8112 GB, free: 6.727 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001781/0.7732, allocations: 75.91 kB / 0.8113 GB, free: 6.629 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.7734, allocations: 0.6768 MB / 0.812 GB, free: 5.926 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 1.726e-05/0.7734, allocations: 0 / 0.812 GB, free: 5.926 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.762e-05/0.7734, allocations: 11.44 kB / 0.812 GB, free: 5.914 MB / 0.5418 GB Notification: Performance of SimCode: time 2.11e-07/0.7734, allocations: 0 / 0.812 GB, free: 5.914 MB / 0.5418 GB Notification: Performance of Templates: time 0.00254/0.776, allocations: 0.5822 MB / 0.8126 GB, free: 5.34 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