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.001055/0.001055, 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.533/1.533, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009115/0.0009116, allocations: 84.78 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1063/0.1063, allocations: 20.17 MB / 356.7 MB, free: 5.902 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.34/1.34, allocations: 127.5 MB / 0.5284 GB, free: 15.92 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 3.771e-05/3.775e-05, allocations: 4 kB / 0.618 GB, free: 4.043 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5747/0.5747, allocations: 82.84 MB / 0.6989 GB, free: 32.04 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2019/0.7767, allocations: 121.7 MB / 0.8177 GB, free: 15.5 MB / 0.5574 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.777, allocations: 87.88 kB / 0.8178 GB, free: 15.41 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 0.01085/0.7879, allocations: 4.008 MB / 0.8217 GB, free: 11.43 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7879, allocations: 0 / 0.8217 GB, free: 11.43 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.894e-05/0.788, allocations: 4 kB / 0.8217 GB, free: 11.43 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005723/0.7885, allocations: 448.4 kB / 0.8221 GB, free: 10.95 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.7886, allocations: 8.75 kB / 0.8221 GB, free: 10.94 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.618e-05/0.7887, allocations: 25.45 kB / 0.8222 GB, free: 10.91 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.789, allocations: 247.9 kB / 0.8224 GB, free: 10.63 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.7891, allocations: 3.938 kB / 0.8224 GB, free: 10.62 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.7891, allocations: 4 kB / 0.8224 GB, free: 10.62 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.7893, allocations: 82.3 kB / 0.8225 GB, free: 10.54 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.7893, allocations: 3.984 kB / 0.8225 GB, free: 10.53 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.7893, allocations: 8.594 kB / 0.8225 GB, free: 10.52 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.7893, allocations: 0.5938 kB / 0.8225 GB, free: 10.52 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.7894, allocations: 52.64 kB / 0.8226 GB, free: 10.47 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006953/0.7901, allocations: 399.6 kB / 0.8229 GB, free: 10.04 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.7904, allocations: 90.5 kB / 0.823 GB, free: 9.941 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.369e-05/0.7905, allocations: 40.97 kB / 0.8231 GB, free: 9.898 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.7905, allocations: 0 / 0.8231 GB, free: 9.898 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.7905, allocations: 38.56 kB / 0.8231 GB, free: 9.852 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.7906, allocations: 0 / 0.8231 GB, free: 9.852 MB / 0.5574 GB Notification: Performance of matching and sorting (n=6): time 0.0002937/0.7909, allocations: 137.4 kB / 0.8232 GB, free: 9.711 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.7909, allocations: 53.56 kB / 0.8233 GB, free: 9.648 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.7912, allocations: 234.6 kB / 0.8235 GB, free: 9.414 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.7912, allocations: 25.7 kB / 0.8235 GB, free: 9.383 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/0.7913, allocations: 132 kB / 0.8237 GB, free: 9.25 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.7914, allocations: 14.25 kB / 0.8237 GB, free: 9.238 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.7914, allocations: 4.109 kB / 0.8237 GB, free: 9.234 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.7916, allocations: 334.8 kB / 0.824 GB, free: 8.898 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.412e-05/0.7916, allocations: 24 kB / 0.824 GB, free: 8.875 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.633e-05/0.7917, allocations: 39.42 kB / 0.8241 GB, free: 8.84 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.005e-05/0.7918, allocations: 35.97 kB / 0.8241 GB, free: 8.805 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7918, allocations: 2.094 kB / 0.8241 GB, free: 8.805 MB / 0.5574 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001838/0.792, allocations: 117.5 kB / 0.8242 GB, free: 8.684 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.792, allocations: 7.938 kB / 0.8242 GB, free: 8.676 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.792, allocations: 0 / 0.8242 GB, free: 8.676 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.792, allocations: 7.953 kB / 0.8242 GB, free: 8.668 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.7921, allocations: 18.42 kB / 0.8242 GB, free: 8.652 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.7922, allocations: 1.172 kB / 0.8242 GB, free: 8.652 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.7922, allocations: 19.83 kB / 0.8243 GB, free: 8.633 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.7923, allocations: 4 kB / 0.8243 GB, free: 8.629 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: 1 (tableGain.table_block.tableID) * Number of discrete 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 9.427e-05/0.7924, allocations: 106 kB / 0.8244 GB, free: 8.52 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.7924, allocations: 15.81 kB / 0.8244 GB, free: 8.504 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.7927, allocations: 152.5 kB / 0.8245 GB, free: 8.348 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.7927, allocations: 0 / 0.8245 GB, free: 8.348 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.7927, allocations: 7.922 kB / 0.8245 GB, free: 8.344 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.7927, allocations: 0.8125 kB / 0.8245 GB, free: 8.344 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.793, allocations: 233.6 kB / 0.8248 GB, free: 8.066 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.793, allocations: 0.9375 kB / 0.8248 GB, free: 8.066 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.7931, allocations: 16.55 kB / 0.8248 GB, free: 8.051 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7931, allocations: 0 / 0.8248 GB, free: 8.051 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.7931, allocations: 2.406 kB / 0.8248 GB, free: 8.051 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7932, allocations: 0 / 0.8248 GB, free: 8.051 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.7932, allocations: 4.938 kB / 0.8248 GB, free: 8.047 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.7935, allocations: 232.3 kB / 0.825 GB, free: 7.805 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.7935, allocations: 96.92 kB / 0.8251 GB, free: 7.691 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.7936, allocations: 4.766 kB / 0.8251 GB, free: 7.688 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.583e-05/0.7937, allocations: 9.125 kB / 0.8251 GB, free: 7.68 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.7937, allocations: 11.92 kB / 0.8251 GB, free: 7.668 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.7938, allocations: 6.969 kB / 0.8251 GB, free: 7.664 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.000193/0.794, allocations: 195 kB / 0.8253 GB, free: 7.477 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.51e-07/0.794, allocations: 3.938 kB / 0.8253 GB, free: 7.473 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002443/0.7942, allocations: 35.84 kB / 0.8253 GB, free: 7.438 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: 1 (tableGain.table_block.tableID) * Number of discrete 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.0009728/0.7952, allocations: 350.3 kB / 0.8257 GB, free: 7.266 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0001765/0.7954, allocations: 74.28 kB / 0.8258 GB, free: 7.195 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.7954, allocations: 0.9375 kB / 0.8258 GB, free: 7.195 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 6.315e-05/0.7955, allocations: 32 kB / 0.8258 GB, free: 7.164 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.7957, allocations: 33.34 kB / 0.8258 GB, free: 7.133 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.7962, allocations: 234.2 kB / 0.826 GB, free: 6.883 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.7966, allocations: 0.7334 MB / 0.8268 GB, free: 6.125 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 7.986e-05/0.7967, allocations: 28.05 kB / 0.8268 GB, free: 6.098 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.7967, allocations: 15.44 kB / 0.8268 GB, free: 6.082 MB / 0.5574 GB Notification: Performance of SimCode: time 3.41e-07/0.7967, allocations: 0.5 kB / 0.8268 GB, free: 6.082 MB / 0.5574 GB Notification: Performance of Templates: time 0.005141/0.8019, allocations: 1.777 MB / 0.8285 GB, free: 4.422 MB / 0.5574 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