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.00118/0.00118, allocations: 180.9 kB / 7.651 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.514/1.514, allocations: 221.5 MB / 229.6 MB, free: 7.543 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.001122/0.001122, allocations: 95 kB / 280.5 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09656/0.09656, allocations: 20.18 MB / 351.4 MB, free: 11 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.882/0.882, allocations: 127.6 MB / 0.5233 GB, free: 1.02 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.281e-05, allocations: 4 kB / 0.611 GB, free: 7.793 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6762/0.6763, allocations: 82.85 MB / 0.6919 GB, free: 3.145 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2381/0.9145, allocations: 117.9 MB / 0.8071 GB, free: 11.29 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.9148, allocations: 83.83 kB / 0.8072 GB, free: 11.21 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01104/0.9258, allocations: 3.575 MB / 0.8107 GB, free: 7.629 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9259, allocations: 0 / 0.8107 GB, free: 7.629 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.9259, allocations: 0 / 0.8107 GB, free: 7.629 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.0003831/0.9263, allocations: 338.4 kB / 0.811 GB, free: 7.254 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.9264, allocations: 8.031 kB / 0.811 GB, free: 7.246 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.9264, allocations: 7.953 kB / 0.811 GB, free: 7.238 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.9266, allocations: 163.1 kB / 0.8112 GB, free: 7.039 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.9266, allocations: 0 / 0.8112 GB, free: 7.039 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.9266, allocations: 0 / 0.8112 GB, free: 7.039 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001045/0.9267, allocations: 15.92 kB / 0.8112 GB, free: 7.023 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.425e-05/0.9268, allocations: 33.7 kB / 0.8112 GB, free: 6.984 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.9268, allocations: 0 / 0.8112 GB, free: 6.984 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.9268, allocations: 0 / 0.8112 GB, free: 6.984 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.9268, allocations: 4 kB / 0.8112 GB, free: 6.98 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.927, allocations: 134.2 kB / 0.8113 GB, free: 6.812 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.9272, allocations: 42.56 kB / 0.8114 GB, free: 6.762 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.9272, allocations: 12.86 kB / 0.8114 GB, free: 6.746 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004628/0.9277, allocations: 344.5 kB / 0.8117 GB, free: 6.336 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.9277, allocations: 34.56 kB / 0.8117 GB, free: 6.293 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=4): time 2.965e-06/0.9277, allocations: 0 / 0.8117 GB, free: 6.293 MB / 0.5418 GB Notification: Performance of matching and sorting (n=4): time 0.001044/0.9288, allocations: 217.3 kB / 0.812 GB, free: 6.074 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.9288, allocations: 51.41 kB / 0.812 GB, free: 6.012 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.482e-05/0.9289, allocations: 85 kB / 0.8121 GB, free: 5.922 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.9289, allocations: 25.7 kB / 0.8121 GB, free: 5.891 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.9289, allocations: 80.14 kB / 0.8122 GB, free: 5.809 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.929, allocations: 11.84 kB / 0.8122 GB, free: 5.797 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.929, allocations: 4 kB / 0.8122 GB, free: 5.793 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9291, allocations: 314.8 kB / 0.8125 GB, free: 5.477 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.9291, allocations: 4 kB / 0.8125 GB, free: 5.473 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.543e-05/0.9292, allocations: 8 kB / 0.8125 GB, free: 5.465 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008003/0.93, allocations: 175.7 kB / 0.8127 GB, free: 5.293 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.93, allocations: 7.422 kB / 0.8127 GB, free: 5.289 MB / 0.5418 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0008336/0.9308, allocations: 209.4 kB / 0.8129 GB, free: 5.078 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.9308, allocations: 8 kB / 0.8129 GB, free: 5.07 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.9309, allocations: 0 / 0.8129 GB, free: 5.07 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.9309, allocations: 0 / 0.8129 GB, free: 5.07 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/0.9309, allocations: 8 kB / 0.8129 GB, free: 5.062 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.931, allocations: 0 / 0.8129 GB, free: 5.062 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.931, allocations: 3.906 kB / 0.8129 GB, free: 5.059 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.931, allocations: 4 kB / 0.8129 GB, free: 5.055 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 (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 8.223e-05/0.9311, allocations: 108.8 kB / 0.813 GB, free: 4.941 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.9311, allocations: 7.953 kB / 0.813 GB, free: 4.934 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009258/0.932, allocations: 221.6 kB / 0.8132 GB, free: 4.703 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.9321, allocations: 0 / 0.8132 GB, free: 4.703 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.9321, allocations: 0 / 0.8132 GB, free: 4.703 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.9321, allocations: 0 / 0.8132 GB, free: 4.703 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.9322, allocations: 134.2 kB / 0.8134 GB, free: 4.535 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9322, allocations: 3.938 kB / 0.8134 GB, free: 4.531 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.9323, allocations: 8 kB / 0.8134 GB, free: 4.523 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.9323, allocations: 7.953 kB / 0.8134 GB, free: 4.516 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.453e-06/0.9323, allocations: 0 / 0.8134 GB, free: 4.516 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.9323, allocations: 0 / 0.8134 GB, free: 4.516 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.9323, allocations: 0 / 0.8134 GB, free: 4.516 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008677/0.9332, allocations: 241.5 kB / 0.8136 GB, free: 4.262 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.9332, allocations: 77.11 kB / 0.8137 GB, free: 4.168 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.9332, allocations: 3.953 kB / 0.8137 GB, free: 4.164 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-06/0.9333, allocations: 0 / 0.8137 GB, free: 4.164 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.9333, allocations: 8 kB / 0.8137 GB, free: 4.156 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.9333, allocations: 0 / 0.8137 GB, free: 4.156 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 3.475e-05/0.9333, allocations: 75.28 kB / 0.8138 GB, free: 4.082 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9333, allocations: 0 / 0.8138 GB, free: 4.082 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.000222/0.9336, allocations: 31.92 kB / 0.8138 GB, free: 4.051 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 (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.0002183/0.9338, allocations: 127.1 kB / 0.8139 GB, free: 3.918 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 8.185e-05/0.9339, allocations: 16 kB / 0.8139 GB, free: 3.902 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.9339, allocations: 0 / 0.8139 GB, free: 3.902 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-05/0.9339, allocations: 12 kB / 0.8139 GB, free: 3.891 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/0.934, allocations: 9.453 kB / 0.814 GB, free: 3.887 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002183/0.9343, allocations: 67.92 kB / 0.814 GB, free: 3.797 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.9345, allocations: 0.6806 MB / 0.8147 GB, free: 3.09 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.9346, allocations: 8 kB / 0.8147 GB, free: 3.082 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.9346, allocations: 7.438 kB / 0.8147 GB, free: 3.074 MB / 0.5418 GB Notification: Performance of SimCode: time 4.71e-07/0.9346, allocations: 0 / 0.8147 GB, free: 3.074 MB / 0.5418 GB Notification: Performance of Templates: time 0.00285/0.9374, allocations: 0.5432 MB / 0.8152 GB, free: 2.531 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