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.002286/0.002286, allocations: 176.2 kB / 7.648 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.485/1.485, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0008528/0.0008528, allocations: 83.12 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09086/0.09086, allocations: 20.17 MB / 351.4 MB, free: 11.01 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.7635/0.7635, allocations: 127.6 MB / 0.5233 GB, free: 1.016 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.97e-05/1.972e-05, allocations: 4 kB / 0.611 GB, free: 7.801 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5877/0.5877, allocations: 82.85 MB / 0.6919 GB, free: 3.168 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1859/0.7737, allocations: 117.6 MB / 0.8068 GB, free: 11.61 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.774, allocations: 99.8 kB / 0.8069 GB, free: 11.52 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.004558/0.7786, allocations: 1.678 MB / 0.8085 GB, free: 9.832 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7786, allocations: 1.781 kB / 0.8085 GB, free: 9.832 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.7786, allocations: 0 / 0.8085 GB, free: 9.832 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.000388/0.779, allocations: 346.4 kB / 0.8089 GB, free: 9.449 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.7791, allocations: 8.031 kB / 0.8089 GB, free: 9.441 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.7792, allocations: 7.953 kB / 0.8089 GB, free: 9.434 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.7794, allocations: 186.9 kB / 0.8091 GB, free: 9.211 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.7794, allocations: 0 / 0.8091 GB, free: 9.211 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.7794, allocations: 4 kB / 0.8091 GB, free: 9.207 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.5e-05/0.7795, allocations: 27.92 kB / 0.8091 GB, free: 9.18 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.988e-05/0.7796, allocations: 45.69 kB / 0.8091 GB, free: 9.129 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.7797, allocations: 0 / 0.8091 GB, free: 9.129 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.7797, allocations: 4 kB / 0.8091 GB, free: 9.125 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.7797, allocations: 0 / 0.8091 GB, free: 9.125 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.7801, allocations: 249.5 kB / 0.8094 GB, free: 8.844 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 5.834e-05/0.7802, allocations: 34.56 kB / 0.8094 GB, free: 8.801 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.36e-05/0.7802, allocations: 16.86 kB / 0.8094 GB, free: 8.781 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.7802, allocations: 3.938 kB / 0.8094 GB, free: 8.777 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.7803, allocations: 38.56 kB / 0.8095 GB, free: 8.73 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.7803, allocations: 0 / 0.8095 GB, free: 8.73 MB / 0.5418 GB Notification: Performance of matching and sorting (n=3): time 0.0001901/0.7805, allocations: 77.52 kB / 0.8095 GB, free: 8.652 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.7805, allocations: 51.41 kB / 0.8096 GB, free: 8.59 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.7806, allocations: 129.1 kB / 0.8097 GB, free: 8.453 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.7807, allocations: 25.7 kB / 0.8097 GB, free: 8.422 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.7807, allocations: 92.05 kB / 0.8098 GB, free: 8.328 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 7.844e-06/0.7807, allocations: 3.906 kB / 0.8098 GB, free: 8.324 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.7808, allocations: 4 kB / 0.8098 GB, free: 8.32 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.7809, allocations: 322.8 kB / 0.8101 GB, free: 7.996 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.888e-05/0.7809, allocations: 12 kB / 0.8102 GB, free: 7.984 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.781, allocations: 33.7 kB / 0.8102 GB, free: 7.945 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.515e-05/0.7811, allocations: 23.92 kB / 0.8102 GB, free: 7.922 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7811, allocations: 0 / 0.8102 GB, free: 7.922 MB / 0.5418 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001938/0.7813, allocations: 90.53 kB / 0.8103 GB, free: 7.824 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.7813, allocations: 4 kB / 0.8103 GB, free: 7.82 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.7813, allocations: 0 / 0.8103 GB, free: 7.82 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.7814, allocations: 16.84 kB / 0.8103 GB, free: 7.801 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.953e-05/0.7815, allocations: 15.92 kB / 0.8103 GB, free: 7.785 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.7825, allocations: 1.246 MB / 0.8116 GB, free: 6.418 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/0.7826, allocations: 7.969 kB / 0.8116 GB, free: 6.41 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.7826, allocations: 0 / 0.8116 GB, free: 6.41 MB / 0.5418 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: a:VARIABLE(fixed = false ) type: Real 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 0.0001547/0.7828, allocations: 116.8 kB / 0.8117 GB, free: 6.289 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.7828, allocations: 7.906 kB / 0.8117 GB, free: 6.281 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.7829, allocations: 74.02 kB / 0.8117 GB, free: 6.203 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.7829, allocations: 0 / 0.8117 GB, free: 6.203 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.91e-07/0.7829, allocations: 4 kB / 0.8118 GB, free: 6.199 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.7829, allocations: 3.953 kB / 0.8118 GB, free: 6.195 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.7831, allocations: 146.2 kB / 0.8119 GB, free: 6.016 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.7831, allocations: 0 / 0.8119 GB, free: 6.016 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.7831, allocations: 7.938 kB / 0.8119 GB, free: 6.008 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7831, allocations: 0 / 0.8119 GB, free: 6.008 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.7832, allocations: 4 kB / 0.8119 GB, free: 6.004 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7832, allocations: 0 / 0.8119 GB, free: 6.004 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.7832, allocations: 0 / 0.8119 GB, free: 6.004 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.7833, allocations: 168.5 kB / 0.8121 GB, free: 5.824 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.7834, allocations: 85.09 kB / 0.8121 GB, free: 5.723 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-06/0.7834, allocations: 0 / 0.8121 GB, free: 5.723 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.295e-05/0.7835, allocations: 3.844 kB / 0.8122 GB, free: 5.723 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.7835, allocations: 4 kB / 0.8122 GB, free: 5.719 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.7835, allocations: 4 kB / 0.8122 GB, free: 5.715 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 6.614e-05/0.7836, allocations: 102.9 kB / 0.8123 GB, free: 5.617 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7836, allocations: 0 / 0.8123 GB, free: 5.617 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002436/0.7838, allocations: 12 kB / 0.8123 GB, free: 5.605 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 (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.0003147/0.7841, allocations: 131.3 kB / 0.8124 GB, free: 5.473 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.7844, allocations: 149.7 kB / 0.8125 GB, free: 5.316 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.7844, allocations: 0 / 0.8125 GB, free: 5.316 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 2.609e-05/0.7845, allocations: 11.94 kB / 0.8125 GB, free: 5.305 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.7847, allocations: 11.95 kB / 0.8126 GB, free: 5.293 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.7849, allocations: 96.2 kB / 0.8127 GB, free: 5.176 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.7852, allocations: 0.6923 MB / 0.8133 GB, free: 4.457 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 4.59e-05/0.7852, allocations: 15.7 kB / 0.8133 GB, free: 4.445 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.7853, allocations: 7.438 kB / 0.8133 GB, free: 4.438 MB / 0.5418 GB Notification: Performance of SimCode: time 2.61e-07/0.7853, allocations: 0 / 0.8133 GB, free: 4.438 MB / 0.5418 GB Notification: Performance of Templates: time 0.002997/0.7883, allocations: 0.7552 MB / 0.8141 GB, free: 3.715 MB / 0.5418 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