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.001595/0.001595, allocations: 172.5 kB / 7.647 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.613/1.613, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0009804/0.0009804, allocations: 92.11 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09753/0.09753, allocations: 20.17 MB / 351.4 MB, free: 11.02 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.8055/0.8055, allocations: 127.6 MB / 0.5233 GB, free: 1.035 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.726e-05/2.713e-05, allocations: 4 kB / 0.611 GB, free: 7.82 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6471/0.6471, allocations: 82.86 MB / 0.6919 GB, free: 3.172 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2141/0.8612, allocations: 121 MB / 0.8101 GB, free: 8.203 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/0.8616, allocations: 99.8 kB / 0.8102 GB, free: 8.109 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01059/0.8722, allocations: 3.972 MB / 0.8141 GB, free: 4.129 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8723, allocations: 0 / 0.8141 GB, free: 4.129 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.878e-05/0.8723, allocations: 4 kB / 0.8141 GB, free: 4.125 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.0006179/0.8729, allocations: 446 kB / 0.8145 GB, free: 3.645 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.873, allocations: 12.03 kB / 0.8146 GB, free: 3.633 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.669e-05/0.8731, allocations: 23.67 kB / 0.8146 GB, free: 3.609 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.8735, allocations: 243.9 kB / 0.8148 GB, free: 3.328 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.8735, allocations: 7.281 kB / 0.8148 GB, free: 3.324 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.8735, allocations: 0 / 0.8148 GB, free: 3.324 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001555/0.8737, allocations: 51.98 kB / 0.8149 GB, free: 3.273 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.8738, allocations: 89.58 kB / 0.815 GB, free: 3.18 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.8739, allocations: 3.938 kB / 0.815 GB, free: 3.176 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.8739, allocations: 0 / 0.815 GB, free: 3.176 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.8739, allocations: 0 / 0.815 GB, free: 3.176 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/0.8746, allocations: 373.2 kB / 0.8153 GB, free: 2.773 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.8749, allocations: 82.55 kB / 0.8154 GB, free: 2.684 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.325e-05/0.875, allocations: 36.97 kB / 0.8154 GB, free: 2.645 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.875, allocations: 0 / 0.8154 GB, free: 2.645 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.8751, allocations: 38.5 kB / 0.8155 GB, free: 2.598 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.8751, allocations: 0 / 0.8155 GB, free: 2.598 MB / 0.5418 GB Notification: Performance of matching and sorting (n=6): time 0.0003609/0.8754, allocations: 137.4 kB / 0.8156 GB, free: 2.457 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.8755, allocations: 55.41 kB / 0.8156 GB, free: 2.391 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.8758, allocations: 220 kB / 0.8159 GB, free: 2.168 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.8758, allocations: 29.7 kB / 0.8159 GB, free: 2.133 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 9.55e-05/0.8759, allocations: 128 kB / 0.816 GB, free: 2.004 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.876, allocations: 15.8 kB / 0.816 GB, free: 1.988 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-06/0.876, allocations: 4 kB / 0.816 GB, free: 1.984 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.8762, allocations: 322.8 kB / 0.8163 GB, free: 1.66 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.569e-05/0.8762, allocations: 31.98 kB / 0.8164 GB, free: 1.629 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.986e-05/0.8763, allocations: 31.98 kB / 0.8164 GB, free: 1.598 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.518e-05/0.8763, allocations: 35.98 kB / 0.8164 GB, free: 1.562 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8764, allocations: 0 / 0.8164 GB, free: 1.562 MB / 0.5418 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000194/0.8766, allocations: 121.4 kB / 0.8165 GB, free: 1.438 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.8766, allocations: 4 kB / 0.8166 GB, free: 1.434 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.8766, allocations: 112 / 0.8166 GB, free: 1.434 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.8766, allocations: 3.938 kB / 0.8166 GB, free: 1.43 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.8767, allocations: 20.23 kB / 0.8166 GB, free: 1.41 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.8768, allocations: 3.953 kB / 0.8166 GB, free: 1.406 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/0.8769, allocations: 27.83 kB / 0.8166 GB, free: 1.379 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.8769, allocations: 0 / 0.8166 GB, free: 1.379 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 () * 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.0001262/0.877, allocations: 108.8 kB / 0.8167 GB, free: 1.266 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.8771, allocations: 15.81 kB / 0.8167 GB, free: 1.25 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.8774, allocations: 147.7 kB / 0.8169 GB, free: 1.102 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.8774, allocations: 3.984 kB / 0.8169 GB, free: 1.098 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.8774, allocations: 0 / 0.8169 GB, free: 1.098 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.8774, allocations: 3.953 kB / 0.8169 GB, free: 1.094 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.8777, allocations: 206.2 kB / 0.8171 GB, free: 0.8555 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8777, allocations: 0 / 0.8171 GB, free: 0.8555 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.453e-05/0.8778, allocations: 15.98 kB / 0.8171 GB, free: 0.8398 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.8778, allocations: 0 / 0.8171 GB, free: 0.8398 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.8778, allocations: 4 kB / 0.8171 GB, free: 0.8359 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8778, allocations: 0 / 0.8171 GB, free: 0.8359 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.8778, allocations: 0 / 0.8171 GB, free: 0.8359 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.8781, allocations: 227.3 kB / 0.8173 GB, free: 0.5938 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 8.509e-05/0.8782, allocations: 100.9 kB / 0.8174 GB, free: 488 kB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.8782, allocations: 3.984 kB / 0.8174 GB, free: 484 kB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.542e-05/0.8783, allocations: 11.94 kB / 0.8174 GB, free: 472 kB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.8784, allocations: 3.984 kB / 0.8174 GB, free: 468 kB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.8784, allocations: 4 kB / 0.8174 GB, free: 464 kB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.0001841/0.8786, allocations: 184.5 kB / 0.8176 GB, free: 284 kB / 0.5418 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8786, allocations: 0 / 0.8176 GB, free: 284 kB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002657/0.8789, allocations: 31.84 kB / 0.8176 GB, free: 252 kB / 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 () * 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.0009574/0.8798, allocations: 333.3 kB / 0.8179 GB, free: 32 kB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.88, allocations: 71.98 kB / 0.818 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8801, allocations: 0 / 0.818 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 6.744e-05/0.8801, allocations: 32 kB / 0.818 GB, free: 15.93 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.8805, allocations: 36.58 kB / 0.8181 GB, free: 15.89 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.881, allocations: 228.7 kB / 0.8183 GB, free: 15.64 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.8814, allocations: 0.7314 MB / 0.819 GB, free: 14.89 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 8.384e-05/0.8815, allocations: 25.52 kB / 0.819 GB, free: 14.86 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.8816, allocations: 19.44 kB / 0.8191 GB, free: 14.84 MB / 0.5574 GB Notification: Performance of SimCode: time 2.51e-07/0.8816, allocations: 0 / 0.8191 GB, free: 14.84 MB / 0.5574 GB Notification: Performance of Templates: time 0.004548/0.8861, allocations: 1.654 MB / 0.8207 GB, free: 13.22 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