Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.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.TestMaxAbs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|maxx|minn|x1|x2",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs") translateModel(ClaRa.Basics.Functions.TestCases.TestMaxAbs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|maxx|minn|x1|x2",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01101/0.01101, allocations: 170.3 kB / 15.11 MB, free: 6.039 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.641/1.641, allocations: 223.2 MB / 239 MB, free: 24 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.001467/0.001467, allocations: 95.33 kB / 290.2 MB, free: 4.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1174/0.1174, allocations: 20.3 MB / 361.6 MB, free: 8.754 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.8062/0.8062, allocations: 127.1 MB / 0.533 GB, free: 14.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004718, allocations: 16 kB / 0.6255 GB, free: 0.7773 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2798, allocations: 82.85 MB / 0.7064 GB, free: 14.14 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7331/1.013, allocations: 118.6 MB / 0.8222 GB, free: 1.227 MB / 0.5262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004649/1.014, allocations: 79.89 kB / 0.8223 GB, free: 1.152 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 0.01283/1.026, allocations: 3.61 MB / 0.8258 GB, free: 13.54 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.004e-06/1.027, allocations: 0 / 0.8258 GB, free: 13.54 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 9.298e-06/1.027, allocations: 0 / 0.8258 GB, free: 13.54 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004678/1.027, allocations: 339.3 kB / 0.8262 GB, free: 13.16 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/1.027, allocations: 12.03 kB / 0.8262 GB, free: 13.15 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/1.027, allocations: 3.953 kB / 0.8262 GB, free: 13.15 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/1.027, allocations: 163.1 kB / 0.8263 GB, free: 12.95 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/1.027, allocations: 4 kB / 0.8263 GB, free: 12.95 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/1.027, allocations: 0 / 0.8263 GB, free: 12.95 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/1.028, allocations: 37.69 kB / 0.8264 GB, free: 12.9 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/1.028, allocations: 4 kB / 0.8264 GB, free: 12.9 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/1.028, allocations: 0 / 0.8264 GB, free: 12.9 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/1.028, allocations: 0 / 0.8264 GB, free: 12.9 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.257e-05/1.028, allocations: 19.88 kB / 0.8264 GB, free: 12.88 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/1.028, allocations: 158.2 kB / 0.8265 GB, free: 12.68 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/1.028, allocations: 38.61 kB / 0.8266 GB, free: 12.63 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004833/1.029, allocations: 336.5 kB / 0.8269 GB, free: 12.23 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/1.029, allocations: 34.56 kB / 0.8269 GB, free: 12.18 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/1.029, allocations: 0 / 0.8269 GB, free: 12.18 MB / 0.5418 GB Notification: Performance of matching and sorting (n=4): time 0.0002247/1.029, allocations: 65.53 kB / 0.827 GB, free: 12.11 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/1.029, allocations: 59.39 kB / 0.8271 GB, free: 12.04 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.325e-05/1.029, allocations: 85 kB / 0.8271 GB, free: 11.95 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/1.029, allocations: 29.36 kB / 0.8272 GB, free: 11.92 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/1.029, allocations: 80.14 kB / 0.8272 GB, free: 11.84 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/1.029, allocations: 7.844 kB / 0.8272 GB, free: 11.83 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/1.029, allocations: 4 kB / 0.8272 GB, free: 11.83 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0002108/1.029, allocations: 318.8 kB / 0.8276 GB, free: 11.51 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/1.029, allocations: 0 / 0.8276 GB, free: 11.51 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.363e-05/1.029, allocations: 15.98 kB / 0.8276 GB, free: 11.49 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/1.029, allocations: 8 kB / 0.8276 GB, free: 11.48 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.029, allocations: 0 / 0.8276 GB, free: 11.48 MB / 0.5418 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.996e-05/1.029, allocations: 53.62 kB / 0.8276 GB, free: 11.43 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.03, allocations: 4 kB / 0.8276 GB, free: 11.42 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.03, allocations: 0 / 0.8276 GB, free: 11.42 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.03, allocations: 4 kB / 0.8276 GB, free: 11.42 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/1.03, allocations: 4 kB / 0.8276 GB, free: 11.41 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/1.03, allocations: 0 / 0.8276 GB, free: 11.41 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.478e-05/1.03, allocations: 3.906 kB / 0.8276 GB, free: 11.41 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/1.03, allocations: 8 kB / 0.8276 GB, free: 11.4 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 (4): * Single equations (assignments): 4 * 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 9.728e-05/1.03, allocations: 113.8 kB / 0.8278 GB, free: 11.28 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-06/1.03, allocations: 336 / 0.8278 GB, free: 11.28 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/1.03, allocations: 73.09 kB / 0.8278 GB, free: 11.2 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.03, allocations: 0 / 0.8278 GB, free: 11.2 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.03, allocations: 0 / 0.8278 GB, free: 11.2 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.03, allocations: 0 / 0.8278 GB, free: 11.2 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/1.03, allocations: 161.6 kB / 0.828 GB, free: 10.99 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.03, allocations: 4 kB / 0.828 GB, free: 10.99 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/1.03, allocations: 8 kB / 0.828 GB, free: 10.98 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.03, allocations: 0 / 0.828 GB, free: 10.98 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/1.03, allocations: 0 / 0.828 GB, free: 10.98 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.03, allocations: 3.938 kB / 0.828 GB, free: 10.98 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.03, allocations: 0 / 0.828 GB, free: 10.98 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/1.03, allocations: 77.52 kB / 0.8281 GB, free: 10.88 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/1.03, allocations: 81.09 kB / 0.8281 GB, free: 10.79 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/1.03, allocations: 4 kB / 0.8282 GB, free: 10.78 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.439e-05/1.03, allocations: 4 kB / 0.8282 GB, free: 10.78 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/1.031, allocations: 3.938 kB / 0.8282 GB, free: 10.77 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/1.031, allocations: 0 / 0.8282 GB, free: 10.77 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 4.852e-05/1.031, allocations: 75.28 kB / 0.8282 GB, free: 10.7 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.01e-07/1.031, allocations: 0 / 0.8282 GB, free: 10.7 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002601/1.031, allocations: 31.94 kB / 0.8283 GB, free: 10.67 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 (4): * Single equations (assignments): 4 * 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.0002555/1.031, allocations: 123 kB / 0.8284 GB, free: 10.54 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0001079/1.031, allocations: 20 kB / 0.8284 GB, free: 10.52 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/1.031, allocations: 0 / 0.8284 GB, free: 10.52 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/1.031, allocations: 19.92 kB / 0.8284 GB, free: 10.5 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/1.031, allocations: 2.625 kB / 0.8284 GB, free: 10.5 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/1.032, allocations: 99.39 kB / 0.8285 GB, free: 10.38 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/1.032, allocations: 0.6731 MB / 0.8292 GB, free: 9.68 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 3.173e-05/1.032, allocations: 7.984 kB / 0.8292 GB, free: 9.672 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/1.032, allocations: 23.38 kB / 0.8292 GB, free: 9.648 MB / 0.5418 GB Notification: Performance of SimCode: time 2.01e-07/1.032, allocations: 0 / 0.8292 GB, free: 9.648 MB / 0.5418 GB Notification: Performance of Templates: time 0.003042/1.035, allocations: 0.5315 MB / 0.8297 GB, free: 9.117 MB / 0.5418 GB make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.makefile (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.sim & ./ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestMaxAbs.mat","../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches