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.01174/0.01174, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.709/1.709, allocations: 223.2 MB / 239 MB, free: 1.805 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.0008665/0.0008666, allocations: 94.58 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09332/0.09332, allocations: 20.32 MB / 361.6 MB, free: 6.656 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.186/1.186, allocations: 127.1 MB / 0.533 GB, free: 16.95 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004848, allocations: 12 kB / 0.6255 GB, free: 11.12 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2219, allocations: 82.87 MB / 0.7064 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6467/0.8687, allocations: 118.3 MB / 0.822 GB, free: 6.895 MB / 0.5262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.869, allocations: 94.61 kB / 0.8221 GB, free: 6.84 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 0.00415/0.8732, allocations: 1.696 MB / 0.8237 GB, free: 5.414 MB / 0.5262 GB Notification: Performance of FrontEnd: time 3.076e-06/0.8732, allocations: 0 / 0.8237 GB, free: 5.414 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.8732, allocations: 4 kB / 0.8237 GB, free: 5.41 MB / 0.5262 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.0003618/0.8736, allocations: 353.4 kB / 0.824 GB, free: 5.023 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.8737, allocations: 8.031 kB / 0.8241 GB, free: 5.016 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.8737, allocations: 11.94 kB / 0.8241 GB, free: 5.004 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.8739, allocations: 180.1 kB / 0.8242 GB, free: 4.793 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.8739, allocations: 4 kB / 0.8242 GB, free: 4.789 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.874, allocations: 7.062 kB / 0.8242 GB, free: 4.789 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.8741, allocations: 58.36 kB / 0.8243 GB, free: 4.73 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.8741, allocations: 0 / 0.8243 GB, free: 4.73 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.8741, allocations: 0 / 0.8243 GB, free: 4.73 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.8741, allocations: 0 / 0.8243 GB, free: 4.73 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.127e-05/0.8742, allocations: 32.06 kB / 0.8243 GB, free: 4.707 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.8747, allocations: 274 kB / 0.8246 GB, free: 4.406 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.97e-05/0.8747, allocations: 34.84 kB / 0.8246 GB, free: 4.367 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.8748, allocations: 11.22 kB / 0.8246 GB, free: 4.359 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.8748, allocations: 31.25 kB / 0.8247 GB, free: 4.32 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.8748, allocations: 0 / 0.8247 GB, free: 4.32 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3): time 0.0002248/0.875, allocations: 94.81 kB / 0.8248 GB, free: 4.234 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.8751, allocations: 51.97 kB / 0.8248 GB, free: 4.172 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.8752, allocations: 116.2 kB / 0.8249 GB, free: 4.055 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.8752, allocations: 29.7 kB / 0.8249 GB, free: 4.02 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.8752, allocations: 92.69 kB / 0.825 GB, free: 3.93 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/0.8752, allocations: 11.22 kB / 0.825 GB, free: 3.922 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.8753, allocations: 1.656 kB / 0.825 GB, free: 3.922 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.654e-05/0.8753, allocations: 318.8 kB / 0.8254 GB, free: 3.605 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-05/0.8754, allocations: 15.5 kB / 0.8254 GB, free: 3.594 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-05/0.8754, allocations: 46.08 kB / 0.8254 GB, free: 3.551 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/0.8754, allocations: 25.48 kB / 0.8254 GB, free: 3.531 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8755, allocations: 0 / 0.8254 GB, free: 3.531 MB / 0.5262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001964/0.8757, allocations: 104.8 kB / 0.8255 GB, free: 3.438 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.8757, allocations: 12.62 kB / 0.8255 GB, free: 3.426 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8757, allocations: 0 / 0.8255 GB, free: 3.426 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/0.8759, allocations: 19.06 kB / 0.8256 GB, free: 3.406 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.8759, allocations: 8 kB / 0.8256 GB, free: 3.398 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008414/0.8768, allocations: 1.291 MB / 0.8268 GB, free: 2.016 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.8768, allocations: 7.969 kB / 0.8268 GB, free: 2.008 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.8768, allocations: 1.312 kB / 0.8268 GB, free: 2.008 MB / 0.5262 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 () * Number of clocked 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.226e-05/0.8769, allocations: 126.3 kB / 0.827 GB, free: 1.879 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.877, allocations: 7.859 kB / 0.827 GB, free: 1.871 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.8771, allocations: 76.86 kB / 0.827 GB, free: 1.801 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8771, allocations: 4.938 kB / 0.8271 GB, free: 1.797 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.51e-07/0.8771, allocations: 0.5625 kB / 0.8271 GB, free: 1.797 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.8771, allocations: 4.516 kB / 0.8271 GB, free: 1.793 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.8772, allocations: 160 kB / 0.8272 GB, free: 1.594 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8772, allocations: 1.406 kB / 0.8272 GB, free: 1.594 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.918e-05/0.8773, allocations: 7.984 kB / 0.8272 GB, free: 1.586 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8773, allocations: 0 / 0.8272 GB, free: 1.586 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.8773, allocations: 5.859 kB / 0.8272 GB, free: 1.582 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.8773, allocations: 2 kB / 0.8272 GB, free: 1.582 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.8773, allocations: 10.8 kB / 0.8272 GB, free: 1.574 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.8774, allocations: 167.9 kB / 0.8274 GB, free: 1.406 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.8775, allocations: 77.11 kB / 0.8275 GB, free: 1.312 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-06/0.8775, allocations: 4 kB / 0.8275 GB, free: 1.309 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.511e-05/0.8775, allocations: 7.938 kB / 0.8275 GB, free: 1.301 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.8776, allocations: 3.875 kB / 0.8275 GB, free: 1.301 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.8776, allocations: 5.219 kB / 0.8275 GB, free: 1.297 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 4.513e-05/0.8776, allocations: 97.39 kB / 0.8276 GB, free: 1.207 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8776, allocations: 0 / 0.8276 GB, free: 1.207 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002224/0.8779, allocations: 18.09 kB / 0.8276 GB, free: 1.191 MB / 0.5262 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 () * Number of clocked 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.0002982/0.8782, allocations: 134.7 kB / 0.8277 GB, free: 1.074 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.8784, allocations: 157.5 kB / 0.8279 GB, free: 0.9219 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.8785, allocations: 4 kB / 0.8279 GB, free: 0.918 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.8785, allocations: 11.98 kB / 0.8279 GB, free: 0.9062 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.8787, allocations: 10.94 kB / 0.8279 GB, free: 0.9023 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.8789, allocations: 141 kB / 0.828 GB, free: 0.7422 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.8791, allocations: 0.6938 MB / 0.8287 GB, free: 24 kB / 0.5262 GB Notification: Performance of simCode: alias equations: time 4.378e-05/0.8791, allocations: 11.98 kB / 0.8287 GB, free: 12 kB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.8792, allocations: 7.969 kB / 0.8287 GB, free: 8 kB / 0.5262 GB Notification: Performance of SimCode: time 9.11e-07/0.8792, allocations: 4.531 kB / 0.8287 GB, free: 4 kB / 0.5262 GB Notification: Performance of Templates: time 0.003579/0.8828, allocations: 0.7901 MB / 0.8295 GB, free: 15.3 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