Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.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.TestStepsmootherGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|ramp.duration|ramp.height|ramp.offset|ramp.startTime|ramp.y|ramp1.duration|ramp1.height|ramp1.offset|ramp1.startTime|ramp1.y|ramp2.duration|ramp2.height|ramp2.offset|ramp2.startTime|ramp2.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|stepSmootherGain.func|stepSmootherGain.noFunc|stepSmootherGain.u|stepSmootherGain.x|stepSmootherGain.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|ramp.duration|ramp.height|ramp.offset|ramp.startTime|ramp.y|ramp1.duration|ramp1.height|ramp1.offset|ramp1.startTime|ramp1.y|ramp2.duration|ramp2.height|ramp2.offset|ramp2.startTime|ramp2.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|stepSmootherGain.func|stepSmootherGain.noFunc|stepSmootherGain.u|stepSmootherGain.x|stepSmootherGain.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain") [: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.005529/0.005529, allocations: 183 kB / 7.459 MB, free: 2.512 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.575/1.575, allocations: 221.4 MB / 229.3 MB, free: 3 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.001112/0.001112, allocations: 100.1 kB / 280.1 MB, free: 1.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1236/0.1236, allocations: 20.17 MB / 351.1 MB, free: 10.37 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.126/1.126, allocations: 127.6 MB / 0.5229 GB, free: 4.691 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 8.847e-06/8.957e-06, allocations: 0 / 0.6104 GB, free: 10.88 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6171/0.6171, allocations: 82.82 MB / 0.6913 GB, free: 33.7 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.8066, allocations: 119 MB / 0.8075 GB, free: 6.645 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003982/0.8071, allocations: 92.64 kB / 0.8076 GB, free: 6.555 MB / 0.5418 GB Notification: Performance of FrontEnd: time 0.01173/0.8189, allocations: 2.826 MB / 0.8103 GB, free: 3.879 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.8189, allocations: 4 kB / 0.8104 GB, free: 3.875 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008596/0.8198, allocations: 435.3 kB / 0.8108 GB, free: 3.414 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 6.853e-05/0.8199, allocations: 8.031 kB / 0.8108 GB, free: 3.406 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.82, allocations: 10.16 kB / 0.8108 GB, free: 3.398 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.8202, allocations: 174.9 kB / 0.811 GB, free: 3.188 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.8202, allocations: 5.219 kB / 0.811 GB, free: 3.184 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.8203, allocations: 4 kB / 0.811 GB, free: 3.18 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001587/0.8205, allocations: 31.94 kB / 0.811 GB, free: 3.148 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.8206, allocations: 57.67 kB / 0.811 GB, free: 3.086 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.8206, allocations: 0.5625 kB / 0.811 GB, free: 3.086 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.8207, allocations: 0 / 0.811 GB, free: 3.086 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.8207, allocations: 0.7188 kB / 0.811 GB, free: 3.086 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.8212, allocations: 288.3 kB / 0.8113 GB, free: 2.77 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.8214, allocations: 31.19 kB / 0.8114 GB, free: 2.73 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.8215, allocations: 24.98 kB / 0.8114 GB, free: 2.703 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.8215, allocations: 3.188 kB / 0.8114 GB, free: 2.703 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.8215, allocations: 34.47 kB / 0.8114 GB, free: 2.66 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=5): time 2.725e-06/0.8216, allocations: 0 / 0.8114 GB, free: 2.66 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5): time 0.0005314/0.8221, allocations: 109.5 kB / 0.8115 GB, free: 2.547 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.8222, allocations: 51.41 kB / 0.8116 GB, free: 2.484 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.8223, allocations: 122.1 kB / 0.8117 GB, free: 2.355 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.8223, allocations: 25.7 kB / 0.8117 GB, free: 2.324 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.8224, allocations: 92.14 kB / 0.8118 GB, free: 2.23 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.8225, allocations: 15.73 kB / 0.8118 GB, free: 2.215 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.8225, allocations: 0 / 0.8118 GB, free: 2.215 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0002539/0.8227, allocations: 322.8 kB / 0.8121 GB, free: 1.891 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.077e-05/0.8228, allocations: 19.98 kB / 0.8121 GB, free: 1.871 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-05/0.8229, allocations: 12 kB / 0.8121 GB, free: 1.859 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.8231, allocations: 49.92 kB / 0.8122 GB, free: 1.812 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.8231, allocations: 4 kB / 0.8122 GB, free: 1.809 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003084/0.8234, allocations: 97.53 kB / 0.8123 GB, free: 1.707 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.8235, allocations: 13.09 kB / 0.8123 GB, free: 1.695 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.8235, allocations: 4.031 kB / 0.8123 GB, free: 1.695 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.8235, allocations: 0 / 0.8123 GB, free: 1.695 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.8238, allocations: 47.95 kB / 0.8124 GB, free: 1.648 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.8238, allocations: 0 / 0.8124 GB, free: 1.648 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.8239, allocations: 31.97 kB / 0.8124 GB, free: 1.617 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.824, allocations: 4 kB / 0.8124 GB, free: 1.613 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.8241, allocations: 112.6 kB / 0.8125 GB, free: 1.496 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.8242, allocations: 7.906 kB / 0.8125 GB, free: 1.488 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004186/0.8246, allocations: 115.9 kB / 0.8126 GB, free: 1.367 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.8246, allocations: 0.5156 kB / 0.8126 GB, free: 1.367 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.8246, allocations: 4 kB / 0.8126 GB, free: 1.363 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.8246, allocations: 0 / 0.8126 GB, free: 1.363 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.8248, allocations: 174.1 kB / 0.8128 GB, free: 1.156 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8249, allocations: 0 / 0.8128 GB, free: 1.156 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.8251, allocations: 47.95 kB / 0.8128 GB, free: 1.109 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.8251, allocations: 1.172 kB / 0.8128 GB, free: 1.109 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.8251, allocations: 0 / 0.8128 GB, free: 1.109 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.8251, allocations: 4 kB / 0.8128 GB, free: 1.105 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8251, allocations: 3.938 kB / 0.8128 GB, free: 1.102 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003852/0.8255, allocations: 204.2 kB / 0.813 GB, free: 0.8906 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 7.168e-05/0.8256, allocations: 92.95 kB / 0.8131 GB, free: 0.7812 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.8256, allocations: 3.906 kB / 0.8131 GB, free: 0.7773 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.8258, allocations: 35.97 kB / 0.8132 GB, free: 0.7422 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.8259, allocations: 7.984 kB / 0.8132 GB, free: 0.7344 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.8259, allocations: 7.938 kB / 0.8132 GB, free: 0.7266 MB / 0.5418 GB Notification: Performance of sort global known variables: time 7.911e-05/0.826, allocations: 96.2 kB / 0.8133 GB, free: 0.6328 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002943/0.8263, allocations: 16 kB / 0.8133 GB, free: 0.6172 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0002654/0.8266, allocations: 107.2 kB / 0.8134 GB, free: 0.5039 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0001841/0.8268, allocations: 43.92 kB / 0.8134 GB, free: 472 kB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8268, allocations: 4 kB / 0.8134 GB, free: 468 kB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 6.271e-05/0.8269, allocations: 24 kB / 0.8135 GB, free: 444 kB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.8272, allocations: 15.28 kB / 0.8135 GB, free: 432 kB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.8276, allocations: 107.6 kB / 0.8136 GB, free: 300 kB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006456/0.8283, allocations: 0.7153 MB / 0.8143 GB, free: 15.55 MB / 0.5574 GB Notification: Performance of SimCode: time 2.5e-07/0.8283, allocations: 4 kB / 0.8143 GB, free: 15.55 MB / 0.5574 GB Notification: Performance of Templates: time 0.004917/0.8332, allocations: 1.122 MB / 0.8154 GB, free: 14.47 MB / 0.5574 GB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.mat","../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches