Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.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.TestParameterizableTable1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|a|a_times_table_input|b|table.columns.1.|table.n|table.smoothness|table.tableOnFile|table.table.1,1.|table.table.1,2.|table.table.2,1.|table.table.2,2.|table.u.1.|table.y.1.|table_result",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|a|a_times_table_input|b|table.columns.1.|table.n|table.smoothness|table.tableOnFile|table.table.1,1.|table.table.1,2.|table.table.2,1.|table.table.2,2.|table.u.1.|table.y.1.|table_result",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 175.2 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.611/1.611, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0009968/0.0009969, allocations: 87.23 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1089/0.1089, allocations: 20.15 MB / 356.6 MB, free: 5.926 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.378/1.378, allocations: 127.5 MB / 0.5284 GB, free: 15.91 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 4.167e-05/4.177e-05, allocations: 4 kB / 0.618 GB, free: 4.035 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5656/0.5656, allocations: 82.84 MB / 0.6989 GB, free: 32.14 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.7648, allocations: 118.3 MB / 0.8144 GB, free: 2.941 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.7651, allocations: 95.31 kB / 0.8145 GB, free: 2.855 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.004679/0.7698, allocations: 1.682 MB / 0.8161 GB, free: 1.172 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7698, allocations: 0 / 0.8161 GB, free: 1.172 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.7698, allocations: 0 / 0.8161 GB, free: 1.172 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003867/0.7702, allocations: 346.9 kB / 0.8164 GB, free: 0.7891 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.7703, allocations: 11.69 kB / 0.8165 GB, free: 0.7812 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.7703, allocations: 7.953 kB / 0.8165 GB, free: 0.7734 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.7706, allocations: 191.4 kB / 0.8166 GB, free: 0.5508 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.7706, allocations: 4 kB / 0.8166 GB, free: 0.5469 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.7706, allocations: 0 / 0.8166 GB, free: 0.5469 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.7708, allocations: 57.67 kB / 0.8167 GB, free: 496 kB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.7708, allocations: 2.875 kB / 0.8167 GB, free: 496 kB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.7708, allocations: 0 / 0.8167 GB, free: 496 kB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.7708, allocations: 0 / 0.8167 GB, free: 496 kB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.736e-05/0.7709, allocations: 23.98 kB / 0.8167 GB, free: 472 kB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.7714, allocations: 276.9 kB / 0.817 GB, free: 144 kB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 7.683e-05/0.7715, allocations: 41.52 kB / 0.817 GB, free: 96 kB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.7715, allocations: 20.94 kB / 0.8171 GB, free: 72 kB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.7715, allocations: 0 / 0.8171 GB, free: 72 kB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.7716, allocations: 30.56 kB / 0.8171 GB, free: 32 kB / 0.5418 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.7716, allocations: 0 / 0.8171 GB, free: 32 kB / 0.5418 GB Notification: Performance of matching and sorting (n=3): time 0.0002465/0.7718, allocations: 77.52 kB / 0.8172 GB, free: 15.95 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.7719, allocations: 59.94 kB / 0.8172 GB, free: 15.88 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.772, allocations: 124.2 kB / 0.8173 GB, free: 15.75 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.7721, allocations: 26.3 kB / 0.8174 GB, free: 15.72 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.7721, allocations: 96.62 kB / 0.8174 GB, free: 15.62 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 9.257e-06/0.7721, allocations: 3.906 kB / 0.8175 GB, free: 15.62 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.7722, allocations: 5.344 kB / 0.8175 GB, free: 15.61 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.7723, allocations: 314.8 kB / 0.8178 GB, free: 15.3 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.216e-05/0.7724, allocations: 23.17 kB / 0.8178 GB, free: 15.28 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-05/0.7724, allocations: 31.05 kB / 0.8178 GB, free: 15.24 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.679e-05/0.7725, allocations: 19.98 kB / 0.8178 GB, free: 15.22 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7725, allocations: 0 / 0.8178 GB, free: 15.22 MB / 0.5574 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002179/0.7727, allocations: 104.8 kB / 0.8179 GB, free: 15.11 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.7727, allocations: 6.281 kB / 0.8179 GB, free: 15.11 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.7728, allocations: 3.953 kB / 0.8179 GB, free: 15.11 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001458/0.7729, allocations: 21.88 kB / 0.818 GB, free: 15.08 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.773, allocations: 4 kB / 0.818 GB, free: 15.08 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.7741, allocations: 1.297 MB / 0.8192 GB, free: 13.65 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.7742, allocations: 7.938 kB / 0.8192 GB, free: 13.64 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.7742, allocations: 6.031 kB / 0.8192 GB, free: 13.64 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (table.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 8.237e-05/0.7743, allocations: 108.9 kB / 0.8193 GB, free: 13.52 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.7744, allocations: 7.906 kB / 0.8194 GB, free: 13.52 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.7745, allocations: 78.62 kB / 0.8194 GB, free: 13.43 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.7745, allocations: 0 / 0.8194 GB, free: 13.43 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.7745, allocations: 2.375 kB / 0.8194 GB, free: 13.43 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7745, allocations: 0 / 0.8194 GB, free: 13.43 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.7747, allocations: 170.2 kB / 0.8196 GB, free: 13.22 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.7747, allocations: 5.094 kB / 0.8196 GB, free: 13.21 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.7747, allocations: 4 kB / 0.8196 GB, free: 13.21 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7747, allocations: 0 / 0.8196 GB, free: 13.21 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.7748, allocations: 0.75 kB / 0.8196 GB, free: 13.21 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.7748, allocations: 3.953 kB / 0.8196 GB, free: 13.21 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.7748, allocations: 0.8438 kB / 0.8196 GB, free: 13.21 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.7749, allocations: 176.4 kB / 0.8198 GB, free: 13.02 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.775, allocations: 78.05 kB / 0.8199 GB, free: 12.93 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-06/0.775, allocations: 0 / 0.8199 GB, free: 12.93 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.336e-05/0.7751, allocations: 8.438 kB / 0.8199 GB, free: 12.92 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.7751, allocations: 4.797 kB / 0.8199 GB, free: 12.92 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.7751, allocations: 4 kB / 0.8199 GB, free: 12.91 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 6.673e-05/0.7752, allocations: 107.1 kB / 0.82 GB, free: 12.81 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7752, allocations: 0 / 0.82 GB, free: 12.81 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002189/0.7754, allocations: 16 kB / 0.82 GB, free: 12.8 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 (table.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0003083/0.7757, allocations: 134 kB / 0.8201 GB, free: 12.68 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.776, allocations: 150.6 kB / 0.8203 GB, free: 12.52 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.776, allocations: 0.875 kB / 0.8203 GB, free: 12.52 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 3.34e-05/0.7761, allocations: 19.88 kB / 0.8203 GB, free: 12.5 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.7763, allocations: 11.31 kB / 0.8203 GB, free: 12.49 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.7765, allocations: 97.53 kB / 0.8204 GB, free: 12.37 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.7768, allocations: 0.6899 MB / 0.8211 GB, free: 11.65 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 3.906e-05/0.7769, allocations: 5.156 kB / 0.8211 GB, free: 11.65 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.7769, allocations: 7.438 kB / 0.8211 GB, free: 11.64 MB / 0.5574 GB Notification: Performance of SimCode: time 3.5e-07/0.7769, allocations: 0.5 kB / 0.8211 GB, free: 11.64 MB / 0.5574 GB Notification: Performance of Templates: time 0.003181/0.7801, allocations: 0.7908 MB / 0.8218 GB, free: 10.94 MB / 0.5574 GB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.mat","../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches