Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.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.Visualisation.Check.TestDynamicBar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|dynamicBar.decimalSpaces|dynamicBar.provideInputConnectors|dynamicBar.provideLimitsConnectors|dynamicBar.provideOutputConnector|dynamicBar.u|dynamicBar.u_high|dynamicBar.u_high_int|dynamicBar.u_in|dynamicBar.u_int|dynamicBar.u_low|dynamicBar.u_low_int|dynamicBar.u_max|dynamicBar.u_min|dynamicBar.u_set|dynamicBar.u_set_int|dynamicBar.y|gain.k|gain.u|gain.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|sine1.amplitude|sine1.f|sine1.offset|sine1.phase|sine1.startTime|sine1.y|sine2.amplitude|sine2.f|sine2.offset|sine2.phase|sine2.startTime|sine2.y",fileNamePrefix="ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar") translateModel(ClaRa.Visualisation.Check.TestDynamicBar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|dynamicBar.decimalSpaces|dynamicBar.provideInputConnectors|dynamicBar.provideLimitsConnectors|dynamicBar.provideOutputConnector|dynamicBar.u|dynamicBar.u_high|dynamicBar.u_high_int|dynamicBar.u_in|dynamicBar.u_int|dynamicBar.u_low|dynamicBar.u_low_int|dynamicBar.u_max|dynamicBar.u_min|dynamicBar.u_set|dynamicBar.u_set_int|dynamicBar.y|gain.k|gain.u|gain.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|sine1.amplitude|sine1.f|sine1.offset|sine1.phase|sine1.startTime|sine1.y|sine2.amplitude|sine2.f|sine2.offset|sine2.phase|sine2.startTime|sine2.y",fileNamePrefix="ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008728/0.008727, allocations: 171.1 kB / 15.11 MB, free: 5.988 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.561/1.561, allocations: 223.2 MB / 239 MB, free: 56 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 97.39 kB / 290.2 MB, free: 4.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09188/0.09188, allocations: 20.33 MB / 361.6 MB, free: 8.75 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 0.7492/0.7492, allocations: 127.1 MB / 0.533 GB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004603, allocations: 12 kB / 0.6255 GB, free: 0.8047 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2286, allocations: 82.85 MB / 0.7064 GB, free: 14.16 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7033/0.932, allocations: 118.9 MB / 0.8224 GB, free: 1.055 MB / 0.5262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.9323, allocations: 83.88 kB / 0.8225 GB, free: 0.9766 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 0.005506/0.9379, allocations: 1.804 MB / 0.8243 GB, free: 15.17 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9379, allocations: 0 / 0.8243 GB, free: 15.17 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.9379, allocations: 0 / 0.8243 GB, free: 15.17 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005603/0.9385, allocations: 412.7 kB / 0.8247 GB, free: 14.72 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.9385, allocations: 8.031 kB / 0.8247 GB, free: 14.71 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.9386, allocations: 15.8 kB / 0.8247 GB, free: 14.7 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.9388, allocations: 190.2 kB / 0.8249 GB, free: 14.47 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.9389, allocations: 3.938 kB / 0.8249 GB, free: 14.47 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.9389, allocations: 12 kB / 0.8249 GB, free: 14.46 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.9392, allocations: 124.9 kB / 0.825 GB, free: 14.32 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.9392, allocations: 3.5 kB / 0.825 GB, free: 14.32 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.9392, allocations: 4 kB / 0.825 GB, free: 14.32 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.9393, allocations: 7.953 kB / 0.825 GB, free: 14.31 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.9395, allocations: 75.89 kB / 0.8251 GB, free: 14.23 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008414/0.9403, allocations: 0.591 MB / 0.8257 GB, free: 13.58 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.9405, allocations: 91.78 kB / 0.8258 GB, free: 13.46 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.9406, allocations: 0 / 0.8258 GB, free: 13.46 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.9406, allocations: 46.55 kB / 0.8258 GB, free: 13.41 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.9406, allocations: 0 / 0.8258 GB, free: 13.41 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5): time 0.0004902/0.9411, allocations: 141.7 kB / 0.8259 GB, free: 13.27 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.9412, allocations: 136.5 kB / 0.8261 GB, free: 13.1 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.9414, allocations: 137.3 kB / 0.8262 GB, free: 12.96 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.9414, allocations: 29.7 kB / 0.8262 GB, free: 12.93 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.9415, allocations: 115.9 kB / 0.8263 GB, free: 12.81 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.9415, allocations: 7.812 kB / 0.8264 GB, free: 12.8 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.9415, allocations: 4 kB / 0.8264 GB, free: 12.8 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9417, allocations: 322.8 kB / 0.8267 GB, free: 12.47 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.9418, allocations: 35.97 kB / 0.8267 GB, free: 12.44 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.9419, allocations: 77.92 kB / 0.8268 GB, free: 12.34 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.9421, allocations: 39.97 kB / 0.8268 GB, free: 12.3 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.9421, allocations: 4 kB / 0.8268 GB, free: 12.3 MB / 0.5418 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000288/0.9424, allocations: 133.4 kB / 0.8269 GB, free: 12.16 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.9424, allocations: 8 kB / 0.8269 GB, free: 12.15 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.9424, allocations: 0 / 0.8269 GB, free: 12.15 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.9424, allocations: 4.188 kB / 0.827 GB, free: 12.15 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.9426, allocations: 23.98 kB / 0.827 GB, free: 12.12 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.9426, allocations: 7.938 kB / 0.827 GB, free: 12.12 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.9427, allocations: 19.83 kB / 0.827 GB, free: 12.1 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.9427, allocations: 4 kB / 0.827 GB, free: 12.09 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001139/0.9429, allocations: 125.8 kB / 0.8271 GB, free: 11.96 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/0.9429, allocations: 15.91 kB / 0.8271 GB, free: 11.95 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.943, allocations: 7.875 kB / 0.8271 GB, free: 11.94 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.943, allocations: 7.938 kB / 0.8272 GB, free: 11.93 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.943, allocations: 0 / 0.8272 GB, free: 11.93 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.943, allocations: 0 / 0.8272 GB, free: 11.93 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.9433, allocations: 197.6 kB / 0.8273 GB, free: 11.69 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.9433, allocations: 3.953 kB / 0.8273 GB, free: 11.68 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.9434, allocations: 23.97 kB / 0.8274 GB, free: 11.66 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.9434, allocations: 3.984 kB / 0.8274 GB, free: 11.66 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.9435, allocations: 4 kB / 0.8274 GB, free: 11.65 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.9435, allocations: 11.78 kB / 0.8274 GB, free: 11.64 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.9435, allocations: 0 / 0.8274 GB, free: 11.64 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.9439, allocations: 381.4 kB / 0.8278 GB, free: 11.24 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.9439, allocations: 92.91 kB / 0.8278 GB, free: 11.13 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.944, allocations: 0 / 0.8278 GB, free: 11.13 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.9441, allocations: 19.98 kB / 0.8279 GB, free: 11.11 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.9442, allocations: 4 kB / 0.8279 GB, free: 11.11 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.9442, allocations: 4 kB / 0.8279 GB, free: 11.11 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 7.789e-05/0.9443, allocations: 107.2 kB / 0.828 GB, free: 11 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9443, allocations: 0 / 0.828 GB, free: 11 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.000307/0.9446, allocations: 23.94 kB / 0.828 GB, free: 10.98 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000122/0.9447, allocations: 95.17 kB / 0.8281 GB, free: 10.88 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0003014/0.9451, allocations: 83.89 kB / 0.8282 GB, free: 10.79 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9451, allocations: 0 / 0.8282 GB, free: 10.79 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.9452, allocations: 44.36 kB / 0.8282 GB, free: 10.75 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.9454, allocations: 12.64 kB / 0.8282 GB, free: 10.74 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.946, allocations: 245.8 kB / 0.8285 GB, free: 10.46 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.9463, allocations: 0.7052 MB / 0.8291 GB, free: 9.73 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 6.352e-05/0.9464, allocations: 12.12 kB / 0.8292 GB, free: 9.715 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.9464, allocations: 11.44 kB / 0.8292 GB, free: 9.703 MB / 0.5418 GB Notification: Performance of SimCode: time 2.11e-07/0.9464, allocations: 0 / 0.8292 GB, free: 9.703 MB / 0.5418 GB Notification: Performance of Templates: time 0.002973/0.9494, allocations: 0.6073 MB / 0.8298 GB, free: 9.105 MB / 0.5418 GB make -j1 -f ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.makefile (rm -f ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe ; mkfifo ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe >> ../files/ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.sim & ./ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Visualisation.Check.TestDynamicBar.mat","../files/ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches