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") [: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.005955/0.005954, allocations: 175.4 kB / 7.46 MB, free: 2.488 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.594/1.594, allocations: 221.4 MB / 229.3 MB, free: 3.203 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.00102/0.00102, allocations: 100 kB / 280.1 MB, free: 1.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1201/0.1201, allocations: 20.17 MB / 351.1 MB, free: 10.36 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.156/1.156, allocations: 127.6 MB / 0.5229 GB, free: 4.695 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.935e-06/8.035e-06, allocations: 0 / 0.6104 GB, free: 10.88 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6049/0.6049, allocations: 82.84 MB / 0.6913 GB, free: 33.89 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.7836, allocations: 117.5 MB / 0.8061 GB, free: 8.098 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/0.7839, allocations: 83.94 kB / 0.8062 GB, free: 8.016 MB / 0.5418 GB Notification: Performance of FrontEnd: time 0.004787/0.7887, allocations: 1.364 MB / 0.8075 GB, free: 6.676 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.7888, allocations: 0 / 0.8075 GB, free: 6.676 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.0004136/0.7892, allocations: 346.3 kB / 0.8078 GB, free: 6.297 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.7892, allocations: 12.03 kB / 0.8079 GB, free: 6.285 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.7893, allocations: 4.406 kB / 0.8079 GB, free: 6.281 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.7896, allocations: 181.1 kB / 0.808 GB, free: 6.066 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.7896, allocations: 0 / 0.808 GB, free: 6.066 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.7897, allocations: 3.938 kB / 0.808 GB, free: 6.062 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001004/0.7898, allocations: 35.83 kB / 0.8081 GB, free: 6.027 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.7899, allocations: 54.52 kB / 0.8081 GB, free: 5.969 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.7899, allocations: 0 / 0.8081 GB, free: 5.969 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.7899, allocations: 1.078 kB / 0.8081 GB, free: 5.969 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.7899, allocations: 0.7812 kB / 0.8081 GB, free: 5.969 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.7904, allocations: 253.1 kB / 0.8084 GB, free: 5.688 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 8.007e-05/0.7905, allocations: 34.52 kB / 0.8084 GB, free: 5.645 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.7905, allocations: 20.94 kB / 0.8084 GB, free: 5.621 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.7906, allocations: 0.9375 kB / 0.8084 GB, free: 5.621 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.7906, allocations: 30.56 kB / 0.8084 GB, free: 5.582 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.7906, allocations: 0.7188 kB / 0.8084 GB, free: 5.582 MB / 0.5418 GB Notification: Performance of matching and sorting (n=3): time 0.0002257/0.7909, allocations: 61.59 kB / 0.8085 GB, free: 5.516 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.7909, allocations: 56.45 kB / 0.8086 GB, free: 5.449 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.7911, allocations: 117.2 kB / 0.8087 GB, free: 5.324 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.7911, allocations: 26.73 kB / 0.8087 GB, free: 5.293 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/0.7912, allocations: 92.05 kB / 0.8088 GB, free: 5.199 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-06/0.7912, allocations: 4.406 kB / 0.8088 GB, free: 5.195 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.7912, allocations: 0 / 0.8088 GB, free: 5.195 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.7914, allocations: 324 kB / 0.8091 GB, free: 4.871 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.565e-05/0.7914, allocations: 12 kB / 0.8091 GB, free: 4.859 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.041e-05/0.7915, allocations: 38.33 kB / 0.8091 GB, free: 4.816 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/0.7915, allocations: 22.55 kB / 0.8092 GB, free: 4.797 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.7915, allocations: 1.875 kB / 0.8092 GB, free: 4.797 MB / 0.5418 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002413/0.7918, allocations: 90.44 kB / 0.8093 GB, free: 4.699 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.7918, allocations: 4 kB / 0.8093 GB, free: 4.695 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.7918, allocations: 5.344 kB / 0.8093 GB, free: 4.691 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/0.792, allocations: 16.84 kB / 0.8093 GB, free: 4.672 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.7921, allocations: 21.05 kB / 0.8093 GB, free: 4.656 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.7933, allocations: 1.231 MB / 0.8105 GB, free: 3.312 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.7934, allocations: 2.125 kB / 0.8105 GB, free: 3.312 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.7935, allocations: 4.031 kB / 0.8105 GB, free: 3.309 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.0001608/0.7936, allocations: 108.7 kB / 0.8106 GB, free: 3.195 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.7937, allocations: 16.89 kB / 0.8106 GB, free: 3.18 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.7938, allocations: 59.75 kB / 0.8107 GB, free: 3.113 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.7938, allocations: 7.984 kB / 0.8107 GB, free: 3.105 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.41e-07/0.7938, allocations: 0 / 0.8107 GB, free: 3.105 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.7938, allocations: 0.5625 kB / 0.8107 GB, free: 3.105 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.794, allocations: 146.1 kB / 0.8108 GB, free: 2.926 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.794, allocations: 0.5938 kB / 0.8108 GB, free: 2.926 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/0.794, allocations: 8.672 kB / 0.8108 GB, free: 2.918 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.794, allocations: 0 / 0.8108 GB, free: 2.918 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.7941, allocations: 1.297 kB / 0.8108 GB, free: 2.918 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7941, allocations: 0 / 0.8108 GB, free: 2.918 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.7941, allocations: 2.188 kB / 0.8108 GB, free: 2.918 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002151/0.7943, allocations: 164.5 kB / 0.811 GB, free: 2.742 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.7944, allocations: 84.95 kB / 0.8111 GB, free: 2.641 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.7944, allocations: 8.75 kB / 0.8111 GB, free: 2.637 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-05/0.7945, allocations: 0.9375 kB / 0.8111 GB, free: 2.637 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.7945, allocations: 0 / 0.8111 GB, free: 2.637 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.7945, allocations: 4 kB / 0.8111 GB, free: 2.633 MB / 0.5418 GB Notification: Performance of sort global known variables: time 8.511e-05/0.7946, allocations: 102.5 kB / 0.8112 GB, free: 2.535 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002361/0.7949, allocations: 12 kB / 0.8112 GB, free: 2.523 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.0004399/0.7953, allocations: 137.6 kB / 0.8113 GB, free: 2.395 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.7957, allocations: 139.9 kB / 0.8115 GB, free: 2.254 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7957, allocations: 4 kB / 0.8115 GB, free: 2.25 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 3.562e-05/0.7957, allocations: 11.98 kB / 0.8115 GB, free: 2.238 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.7959, allocations: 4 kB / 0.8115 GB, free: 2.234 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.7963, allocations: 91.98 kB / 0.8116 GB, free: 2.121 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/0.7967, allocations: 0.7032 MB / 0.8123 GB, free: 1.395 MB / 0.5418 GB Notification: Performance of SimCode: time 2.71e-07/0.7967, allocations: 8.188 kB / 0.8123 GB, free: 1.391 MB / 0.5418 GB Notification: Performance of Templates: time 0.00381/0.8005, allocations: 0.8177 MB / 0.8131 GB, free: 0.6641 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