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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006066/0.006066, allocations: 177.4 kB / 7.454 MB, free: 2.516 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.682/1.682, allocations: 221.4 MB / 229.3 MB, free: 3.055 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.001007/0.001007, allocations: 93.97 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1139/0.1139, allocations: 20.18 MB / 351.1 MB, free: 10.29 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.316/1.316, allocations: 127.6 MB / 0.5229 GB, free: 4.691 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 1.067e-05/1.069e-05, allocations: 0 / 0.6104 GB, free: 10.88 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6164/0.6164, allocations: 82.84 MB / 0.6913 GB, free: 33.75 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.804, allocations: 121 MB / 0.8094 GB, free: 4.68 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003696/0.8045, allocations: 88.39 kB / 0.8095 GB, free: 4.598 MB / 0.5418 GB Notification: Performance of FrontEnd: time 0.0121/0.8166, allocations: 3.656 MB / 0.8131 GB, free: 0.9961 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 2.659e-05/0.8167, allocations: 7.875 kB / 0.8131 GB, free: 0.9922 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.0007043/0.8174, allocations: 437.2 kB / 0.8135 GB, free: 0.5234 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.8175, allocations: 12.03 kB / 0.8135 GB, free: 0.5117 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.195e-05/0.8176, allocations: 19.72 kB / 0.8135 GB, free: 0.4922 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.818, allocations: 252.2 kB / 0.8138 GB, free: 208 kB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.8181, allocations: 5.25 kB / 0.8138 GB, free: 204 kB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.8181, allocations: 0 / 0.8138 GB, free: 204 kB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001759/0.8183, allocations: 51.98 kB / 0.8138 GB, free: 152 kB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.8185, allocations: 83.75 kB / 0.8139 GB, free: 64 kB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.8185, allocations: 0 / 0.8139 GB, free: 64 kB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.8185, allocations: 0.5 kB / 0.8139 GB, free: 64 kB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.8185, allocations: 2.562 kB / 0.8139 GB, free: 64 kB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008537/0.8194, allocations: 381.1 kB / 0.8143 GB, free: 15.66 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.8197, allocations: 80.44 kB / 0.8144 GB, free: 15.57 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.614e-05/0.8198, allocations: 40.97 kB / 0.8144 GB, free: 15.53 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.8198, allocations: 1.844 kB / 0.8144 GB, free: 15.53 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.8199, allocations: 34.56 kB / 0.8144 GB, free: 15.48 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=6): time 2.534e-06/0.8199, allocations: 0 / 0.8144 GB, free: 15.48 MB / 0.5574 GB Notification: Performance of matching and sorting (n=6): time 0.0003905/0.8203, allocations: 120.6 kB / 0.8145 GB, free: 15.36 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.8204, allocations: 55.41 kB / 0.8146 GB, free: 15.3 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.8207, allocations: 223.9 kB / 0.8148 GB, free: 15.07 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.8208, allocations: 25.7 kB / 0.8148 GB, free: 15.04 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 8.376e-05/0.8208, allocations: 108 kB / 0.8149 GB, free: 14.93 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.8209, allocations: 15.81 kB / 0.815 GB, free: 14.92 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-06/0.8209, allocations: 1.938 kB / 0.815 GB, free: 14.92 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.8211, allocations: 330.7 kB / 0.8153 GB, free: 14.59 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.8212, allocations: 31.98 kB / 0.8153 GB, free: 14.55 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.267e-05/0.8212, allocations: 31.98 kB / 0.8153 GB, free: 14.52 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.092e-05/0.8213, allocations: 37.03 kB / 0.8154 GB, free: 14.49 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8213, allocations: 0 / 0.8154 GB, free: 14.49 MB / 0.5574 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002237/0.8215, allocations: 113.5 kB / 0.8155 GB, free: 14.37 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.8216, allocations: 5.125 kB / 0.8155 GB, free: 14.37 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.8216, allocations: 2.125 kB / 0.8155 GB, free: 14.37 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.8216, allocations: 3.938 kB / 0.8155 GB, free: 14.36 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.8217, allocations: 21.73 kB / 0.8155 GB, free: 14.34 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.8218, allocations: 3.875 kB / 0.8155 GB, free: 14.34 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-05/0.8219, allocations: 30.25 kB / 0.8155 GB, free: 14.32 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.8219, allocations: 4 kB / 0.8155 GB, free: 14.31 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 0.0001097/0.822, allocations: 104.8 kB / 0.8156 GB, free: 14.2 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.8221, allocations: 18.84 kB / 0.8157 GB, free: 14.19 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.8224, allocations: 129.9 kB / 0.8158 GB, free: 14.05 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.8224, allocations: 3.906 kB / 0.8158 GB, free: 14.05 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.8224, allocations: 0 / 0.8158 GB, free: 14.05 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.8224, allocations: 3.984 kB / 0.8158 GB, free: 14.05 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.8227, allocations: 206.1 kB / 0.816 GB, free: 13.81 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.8227, allocations: 3.609 kB / 0.816 GB, free: 13.81 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.606e-05/0.8228, allocations: 17.11 kB / 0.816 GB, free: 13.79 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.8228, allocations: 0 / 0.816 GB, free: 13.79 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.8229, allocations: 4 kB / 0.816 GB, free: 13.79 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.8229, allocations: 5.781 kB / 0.816 GB, free: 13.79 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.8229, allocations: 0 / 0.816 GB, free: 13.79 MB / 0.5574 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003471/0.8232, allocations: 215.9 kB / 0.8162 GB, free: 13.56 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.8233, allocations: 96.91 kB / 0.8163 GB, free: 13.45 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.8234, allocations: 3.906 kB / 0.8163 GB, free: 13.45 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.8235, allocations: 15.98 kB / 0.8163 GB, free: 13.43 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.8236, allocations: 4 kB / 0.8163 GB, free: 13.43 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.8236, allocations: 1.875 kB / 0.8163 GB, free: 13.43 MB / 0.5574 GB Notification: Performance of sort global known variables: time 0.0002151/0.8238, allocations: 181.5 kB / 0.8165 GB, free: 13.25 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0003008/0.8241, allocations: 35.97 kB / 0.8166 GB, free: 13.21 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.0009813/0.8251, allocations: 303.5 kB / 0.8168 GB, free: 13.05 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.8253, allocations: 67.98 kB / 0.8169 GB, free: 12.99 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8254, allocations: 3.938 kB / 0.8169 GB, free: 12.98 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 8.182e-05/0.8254, allocations: 39.92 kB / 0.8169 GB, free: 12.95 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.8259, allocations: 22.62 kB / 0.817 GB, free: 12.92 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007782/0.8267, allocations: 232 kB / 0.8172 GB, free: 12.67 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006059/0.8273, allocations: 0.7518 MB / 0.8179 GB, free: 11.9 MB / 0.5574 GB Notification: Performance of SimCode: time 1.212e-06/0.8273, allocations: 0 / 0.8179 GB, free: 11.9 MB / 0.5574 GB Notification: Performance of Templates: time 0.006613/0.8339, allocations: 1.758 MB / 0.8196 GB, free: 10.27 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