Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.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.Components.Utilities.Blocks.Check.testTableGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|product1.u1|product1.u2|product1.y|sine.duration|sine.height|sine.offset|sine.startTime|sine.y|tableGain.columns.1.|tableGain.divide|tableGain.n|tableGain.smoothness|tableGain.tableOnFile|tableGain.table.1,1.|tableGain.table.1,2.|tableGain.table.2,1.|tableGain.table.2,2.|tableGain.table.3,1.|tableGain.table.3,2.|tableGain.u.1.|tableGain.y.1.|tableGain1.columns.1.|tableGain1.extrapolation|tableGain1.n|tableGain1.smoothness|tableGain1.tableOnFile|tableGain1.table.1,1.|tableGain1.table.1,2.|tableGain1.table.2,1.|tableGain1.table.2,2.|tableGain1.table.3,1.|tableGain1.table.3,2.|tableGain1.u.1.|tableGain1.u_max|tableGain1.u_min|tableGain1.verboseExtrapolation|tableGain1.verboseRead|tableGain1.y.1.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain") translateModel(ClaRa.Components.Utilities.Blocks.Check.testTableGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|product1.u1|product1.u2|product1.y|sine.duration|sine.height|sine.offset|sine.startTime|sine.y|tableGain.columns.1.|tableGain.divide|tableGain.n|tableGain.smoothness|tableGain.tableOnFile|tableGain.table.1,1.|tableGain.table.1,2.|tableGain.table.2,1.|tableGain.table.2,2.|tableGain.table.3,1.|tableGain.table.3,2.|tableGain.u.1.|tableGain.y.1.|tableGain1.columns.1.|tableGain1.extrapolation|tableGain1.n|tableGain1.smoothness|tableGain1.tableOnFile|tableGain1.table.1,1.|tableGain1.table.1,2.|tableGain1.table.2,1.|tableGain1.table.2,2.|tableGain1.table.3,1.|tableGain1.table.3,2.|tableGain1.u.1.|tableGain1.u_max|tableGain1.u_min|tableGain1.verboseExtrapolation|tableGain1.verboseRead|tableGain1.y.1.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01057/0.01057, allocations: 170.6 kB / 15.11 MB, free: 5.973 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.755/1.755, allocations: 223.2 MB / 239 MB, free: 88 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.00121/0.00121, allocations: 98.67 kB / 290.2 MB, free: 4.512 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1137/0.1137, allocations: 20.31 MB / 361.6 MB, free: 8.773 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.8255/0.8255, allocations: 127.1 MB / 0.533 GB, free: 15.04 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004744, allocations: 8 kB / 0.6255 GB, free: 0.8359 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2564, allocations: 82.85 MB / 0.7064 GB, free: 14.19 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6736/0.9301, allocations: 121.8 MB / 0.8253 GB, free: 14.2 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003424/0.9305, allocations: 95.86 kB / 0.8254 GB, free: 14.11 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01129/0.9418, allocations: 4.013 MB / 0.8293 GB, free: 10.1 MB / 0.5418 GB Notification: Performance of FrontEnd: time 5.901e-06/0.9419, allocations: 0 / 0.8293 GB, free: 10.1 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.908e-05/0.9419, allocations: 3.938 kB / 0.8293 GB, free: 10.1 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007805/0.9427, allocations: 487 kB / 0.8298 GB, free: 9.574 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.9428, allocations: 8.031 kB / 0.8298 GB, free: 9.566 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.9428, allocations: 19.77 kB / 0.8298 GB, free: 9.547 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.9432, allocations: 248.9 kB / 0.83 GB, free: 9.262 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.9433, allocations: 4 kB / 0.83 GB, free: 9.258 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.9433, allocations: 4 kB / 0.83 GB, free: 9.254 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.9436, allocations: 113.5 kB / 0.8302 GB, free: 9.137 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.9436, allocations: 0 / 0.8302 GB, free: 9.137 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.9436, allocations: 4 kB / 0.8302 GB, free: 9.133 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.9436, allocations: 0 / 0.8302 GB, free: 9.133 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.9439, allocations: 93.31 kB / 0.8302 GB, free: 9.043 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007396/0.9446, allocations: 392.6 kB / 0.8306 GB, free: 8.609 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.945, allocations: 106.5 kB / 0.8307 GB, free: 8.496 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.945, allocations: 4 kB / 0.8307 GB, free: 8.492 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.9451, allocations: 34.52 kB / 0.8308 GB, free: 8.449 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=6): time 1.704e-06/0.9451, allocations: 0 / 0.8308 GB, free: 8.449 MB / 0.5418 GB Notification: Performance of matching and sorting (n=6): time 0.0005873/0.9457, allocations: 221.5 kB / 0.831 GB, free: 8.227 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.9457, allocations: 51.41 kB / 0.831 GB, free: 8.164 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.946, allocations: 236.2 kB / 0.8312 GB, free: 7.922 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.946, allocations: 25.7 kB / 0.8313 GB, free: 7.891 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 9.723e-05/0.9462, allocations: 128.1 kB / 0.8314 GB, free: 7.762 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.9462, allocations: 23.7 kB / 0.8314 GB, free: 7.738 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.9462, allocations: 0 / 0.8314 GB, free: 7.738 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.9464, allocations: 334.8 kB / 0.8317 GB, free: 7.402 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.9465, allocations: 43.97 kB / 0.8318 GB, free: 7.359 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.9467, allocations: 56.2 kB / 0.8318 GB, free: 7.305 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.9468, allocations: 56.09 kB / 0.8319 GB, free: 7.25 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.9468, allocations: 0 / 0.8319 GB, free: 7.25 MB / 0.5418 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003088/0.9471, allocations: 149.4 kB / 0.832 GB, free: 7.098 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.9472, allocations: 8.109 kB / 0.832 GB, free: 7.09 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.9472, allocations: 3.938 kB / 0.832 GB, free: 7.086 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.9472, allocations: 3.953 kB / 0.832 GB, free: 7.082 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.9473, allocations: 23.92 kB / 0.8321 GB, free: 7.059 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.9473, allocations: 7.844 kB / 0.8321 GB, free: 7.055 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.588e-05/0.9474, allocations: 4 kB / 0.8321 GB, free: 7.051 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.9474, allocations: 7.984 kB / 0.8321 GB, free: 7.043 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: 1 (tableGain.table_block.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 0.0001281/0.9476, allocations: 137.8 kB / 0.8322 GB, free: 6.898 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.9476, allocations: 15.81 kB / 0.8322 GB, free: 6.883 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.948, allocations: 187.2 kB / 0.8324 GB, free: 6.699 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.9481, allocations: 3.953 kB / 0.8324 GB, free: 6.695 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9481, allocations: 7.938 kB / 0.8324 GB, free: 6.688 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.9481, allocations: 0 / 0.8324 GB, free: 6.688 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.9483, allocations: 233.5 kB / 0.8326 GB, free: 6.41 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9484, allocations: 0 / 0.8326 GB, free: 6.41 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.686e-05/0.9485, allocations: 15.98 kB / 0.8327 GB, free: 6.395 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.9485, allocations: 0 / 0.8327 GB, free: 6.395 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.9485, allocations: 0 / 0.8327 GB, free: 6.395 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9485, allocations: 4 kB / 0.8327 GB, free: 6.391 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9485, allocations: 3.953 kB / 0.8327 GB, free: 6.387 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/0.9489, allocations: 267.3 kB / 0.8329 GB, free: 6.109 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 8.09e-05/0.949, allocations: 92.92 kB / 0.833 GB, free: 6 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.949, allocations: 4.188 kB / 0.833 GB, free: 5.996 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.9491, allocations: 19.98 kB / 0.833 GB, free: 5.977 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.9492, allocations: 3.984 kB / 0.833 GB, free: 5.973 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.9492, allocations: 7.953 kB / 0.833 GB, free: 5.965 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.0002054/0.9494, allocations: 200.4 kB / 0.8332 GB, free: 5.773 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9494, allocations: 0 / 0.8332 GB, free: 5.773 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002697/0.9497, allocations: 24 kB / 0.8333 GB, free: 5.75 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: 1 (tableGain.table_block.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001058/0.9508, allocations: 391.8 kB / 0.8336 GB, free: 5.539 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0003264/0.9511, allocations: 99.94 kB / 0.8337 GB, free: 5.441 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.9511, allocations: 0 / 0.8337 GB, free: 5.441 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.9513, allocations: 59.91 kB / 0.8338 GB, free: 5.383 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.9516, allocations: 35.97 kB / 0.8338 GB, free: 5.348 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006283/0.9522, allocations: 346.9 kB / 0.8341 GB, free: 4.984 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.9526, allocations: 0.7433 MB / 0.8349 GB, free: 4.215 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 7.705e-05/0.9527, allocations: 24.7 kB / 0.8349 GB, free: 4.191 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.9527, allocations: 19.42 kB / 0.8349 GB, free: 4.172 MB / 0.5418 GB Notification: Performance of SimCode: time 2.21e-07/0.9527, allocations: 3.844 kB / 0.8349 GB, free: 4.172 MB / 0.5418 GB Notification: Performance of Templates: time 0.004912/0.9577, allocations: 1.753 MB / 0.8366 GB, free: 2.445 MB / 0.5418 GB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testTableGain.mat","../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches