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.001086/0.001086, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.45/1.45, allocations: 221.4 MB / 234.6 MB, free: 14.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 90.16 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1468/0.1468, allocations: 20.16 MB / 356.7 MB, free: 5.906 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.231/1.231, allocations: 127.5 MB / 0.5284 GB, free: 15.95 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 5.091e-05/5.11e-05, allocations: 4 kB / 0.618 GB, free: 4.066 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5481/0.5481, allocations: 82.84 MB / 0.6988 GB, free: 32.26 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.729, allocations: 118.6 MB / 0.8147 GB, free: 2.652 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.7293, allocations: 75.89 kB / 0.8147 GB, free: 2.582 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01114/0.7405, allocations: 3.593 MB / 0.8182 GB, free: 15.04 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7405, allocations: 1.031 kB / 0.8182 GB, free: 15.04 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.7405, allocations: 7.656 kB / 0.8182 GB, free: 15.03 MB / 0.5574 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.0003886/0.7409, allocations: 335.8 kB / 0.8186 GB, free: 14.66 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.741, allocations: 8.75 kB / 0.8186 GB, free: 14.65 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.741, allocations: 3.953 kB / 0.8186 GB, free: 14.65 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.7411, allocations: 168.6 kB / 0.8187 GB, free: 14.45 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.7412, allocations: 4 kB / 0.8187 GB, free: 14.44 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.7412, allocations: 7 kB / 0.8187 GB, free: 14.44 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.7413, allocations: 33.7 kB / 0.8188 GB, free: 14.4 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.7413, allocations: 3.688 kB / 0.8188 GB, free: 14.4 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7414, allocations: 4 kB / 0.8188 GB, free: 14.39 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.7414, allocations: 0 / 0.8188 GB, free: 14.39 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.811e-05/0.7414, allocations: 11.98 kB / 0.8188 GB, free: 14.38 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.7416, allocations: 153.6 kB / 0.8189 GB, free: 14.18 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.7417, allocations: 42.55 kB / 0.819 GB, free: 14.13 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.7418, allocations: 16.86 kB / 0.819 GB, free: 14.11 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004103/0.7422, allocations: 337.9 kB / 0.8193 GB, free: 13.71 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.7422, allocations: 39.59 kB / 0.8194 GB, free: 13.66 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.7422, allocations: 0 / 0.8194 GB, free: 13.66 MB / 0.5574 GB Notification: Performance of matching and sorting (n=4): time 0.0001571/0.7424, allocations: 50.25 kB / 0.8194 GB, free: 13.61 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.7424, allocations: 52.31 kB / 0.8195 GB, free: 13.55 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.622e-05/0.7425, allocations: 85 kB / 0.8195 GB, free: 13.46 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.7425, allocations: 26.58 kB / 0.8196 GB, free: 13.43 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.7425, allocations: 80.14 kB / 0.8196 GB, free: 13.34 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.7426, allocations: 16.75 kB / 0.8197 GB, free: 13.33 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.7426, allocations: 0 / 0.8197 GB, free: 13.33 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7427, allocations: 319.3 kB / 0.82 GB, free: 13.01 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.7428, allocations: 10 kB / 0.82 GB, free: 13 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.28e-05/0.7428, allocations: 11.94 kB / 0.82 GB, free: 12.99 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.656e-05/0.7428, allocations: 4.141 kB / 0.82 GB, free: 12.98 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7428, allocations: 0 / 0.82 GB, free: 12.98 MB / 0.5574 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.433e-05/0.7429, allocations: 58.55 kB / 0.82 GB, free: 12.92 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.743, allocations: 4 kB / 0.82 GB, free: 12.92 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.743, allocations: 1.5 kB / 0.82 GB, free: 12.92 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.743, allocations: 0 / 0.82 GB, free: 12.92 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.743, allocations: 8 kB / 0.8201 GB, free: 12.91 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.7431, allocations: 0 / 0.8201 GB, free: 12.91 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.7431, allocations: 4.562 kB / 0.8201 GB, free: 12.91 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.7431, allocations: 3.984 kB / 0.8201 GB, free: 12.9 MB / 0.5574 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 7.674e-05/0.7432, allocations: 114.8 kB / 0.8202 GB, free: 12.79 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-06/0.7432, allocations: 2.438 kB / 0.8202 GB, free: 12.79 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.7433, allocations: 57.81 kB / 0.8202 GB, free: 12.71 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7434, allocations: 0 / 0.8202 GB, free: 12.71 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7434, allocations: 1.312 kB / 0.8202 GB, free: 12.71 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.7434, allocations: 0 / 0.8202 GB, free: 12.71 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.7435, allocations: 157.6 kB / 0.8204 GB, free: 12.51 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.7435, allocations: 0.9375 kB / 0.8204 GB, free: 12.51 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.7435, allocations: 8 kB / 0.8204 GB, free: 12.5 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.7435, allocations: 0 / 0.8204 GB, free: 12.5 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.7436, allocations: 0.6562 kB / 0.8204 GB, free: 12.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.7436, allocations: 3.625 kB / 0.8204 GB, free: 12.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.7436, allocations: 2.297 kB / 0.8204 GB, free: 12.5 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.936e-05/0.7437, allocations: 82.77 kB / 0.8205 GB, free: 12.41 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.7437, allocations: 81.06 kB / 0.8206 GB, free: 12.31 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.7437, allocations: 0 / 0.8206 GB, free: 12.31 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.011e-05/0.7438, allocations: 4.844 kB / 0.8206 GB, free: 12.3 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.7438, allocations: 2.781 kB / 0.8206 GB, free: 12.3 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.7438, allocations: 0 / 0.8206 GB, free: 12.3 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 3.967e-05/0.7438, allocations: 79.28 kB / 0.8206 GB, free: 12.23 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7438, allocations: 0 / 0.8206 GB, free: 12.23 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002376/0.7441, allocations: 31.92 kB / 0.8207 GB, free: 12.2 MB / 0.5574 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.0001998/0.7443, allocations: 119.2 kB / 0.8208 GB, free: 12.07 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 9.332e-05/0.7444, allocations: 21.19 kB / 0.8208 GB, free: 12.05 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.7444, allocations: 0 / 0.8208 GB, free: 12.05 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 1.991e-05/0.7444, allocations: 15.94 kB / 0.8208 GB, free: 12.04 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001003/0.7445, allocations: 5.328 kB / 0.8208 GB, free: 12.04 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.7448, allocations: 64.92 kB / 0.8209 GB, free: 11.95 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.7452, allocations: 0.6821 MB / 0.8215 GB, free: 11.24 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 3.147e-05/0.7452, allocations: 6.156 kB / 0.8216 GB, free: 11.24 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.7452, allocations: 15.44 kB / 0.8216 GB, free: 11.22 MB / 0.5574 GB Notification: Performance of SimCode: time 3.51e-07/0.7452, allocations: 0 / 0.8216 GB, free: 11.22 MB / 0.5574 GB Notification: Performance of Templates: time 0.002742/0.748, allocations: 0.5461 MB / 0.8221 GB, free: 10.72 MB / 0.5574 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