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.001312/0.001312, allocations: 173.9 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.556/1.556, allocations: 221.5 MB / 229.6 MB, free: 7.555 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.001023/0.001023, allocations: 90.19 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.08604/0.08604, allocations: 20.18 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.7791/0.7791, allocations: 127.6 MB / 0.5233 GB, free: 1.02 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.396e-05/2.406e-05, allocations: 4 kB / 0.611 GB, free: 7.801 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5969/0.597, allocations: 82.86 MB / 0.6919 GB, free: 3.129 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2043/0.8013, allocations: 118.1 MB / 0.8073 GB, free: 11.07 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.8017, allocations: 83.81 kB / 0.8074 GB, free: 10.99 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.005606/0.8074, allocations: 1.772 MB / 0.8091 GB, free: 9.211 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8074, allocations: 0 / 0.8091 GB, free: 9.211 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.8074, allocations: 4 kB / 0.8091 GB, free: 9.207 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.0004668/0.8079, allocations: 394.5 kB / 0.8095 GB, free: 8.777 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.808, allocations: 12.03 kB / 0.8095 GB, free: 8.766 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.808, allocations: 11.86 kB / 0.8095 GB, free: 8.754 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.8083, allocations: 190.8 kB / 0.8097 GB, free: 8.527 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.8083, allocations: 0 / 0.8097 GB, free: 8.527 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.8083, allocations: 4 kB / 0.8097 GB, free: 8.523 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001286/0.8085, allocations: 35.92 kB / 0.8097 GB, free: 8.488 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.8086, allocations: 103.6 kB / 0.8098 GB, free: 8.375 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.8087, allocations: 4 kB / 0.8098 GB, free: 8.371 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.8087, allocations: 3.984 kB / 0.8098 GB, free: 8.367 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.8087, allocations: 7.891 kB / 0.8098 GB, free: 8.359 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007609/0.8095, allocations: 0.5603 MB / 0.8104 GB, free: 7.75 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.8096, allocations: 71.81 kB / 0.8105 GB, free: 7.652 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/0.8096, allocations: 30.58 kB / 0.8105 GB, free: 7.613 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.8097, allocations: 4 kB / 0.8105 GB, free: 7.609 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.8097, allocations: 30.56 kB / 0.8105 GB, free: 7.57 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.8097, allocations: 0 / 0.8105 GB, free: 7.57 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5): time 0.0002444/0.81, allocations: 77.53 kB / 0.8106 GB, free: 7.488 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.81, allocations: 132.5 kB / 0.8107 GB, free: 7.328 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.8102, allocations: 132 kB / 0.8108 GB, free: 7.195 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.8102, allocations: 25.7 kB / 0.8109 GB, free: 7.164 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.8103, allocations: 111.9 kB / 0.811 GB, free: 7.051 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.8103, allocations: 15.75 kB / 0.811 GB, free: 7.035 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.8103, allocations: 0 / 0.811 GB, free: 7.035 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.8104, allocations: 322.8 kB / 0.8113 GB, free: 6.711 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.922e-05/0.8105, allocations: 20.08 kB / 0.8113 GB, free: 6.691 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.085e-05/0.8105, allocations: 50.02 kB / 0.8114 GB, free: 6.621 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.393e-05/0.8106, allocations: 23.97 kB / 0.8114 GB, free: 6.598 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8106, allocations: 0 / 0.8114 GB, free: 6.598 MB / 0.5418 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001342/0.8107, allocations: 93.38 kB / 0.8115 GB, free: 6.5 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.8107, allocations: 4 kB / 0.8115 GB, free: 6.496 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.8108, allocations: 0 / 0.8115 GB, free: 6.496 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.8108, allocations: 7.938 kB / 0.8115 GB, free: 6.488 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.8109, allocations: 24.17 kB / 0.8115 GB, free: 6.465 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.8109, allocations: 7.984 kB / 0.8115 GB, free: 6.457 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.501e-05/0.811, allocations: 12 kB / 0.8115 GB, free: 6.445 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.8111, allocations: 3.984 kB / 0.8115 GB, free: 6.441 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 () * 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 8.087e-05/0.8112, allocations: 112.8 kB / 0.8116 GB, free: 6.324 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.8112, allocations: 11.86 kB / 0.8117 GB, free: 6.312 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.8113, allocations: 11.97 kB / 0.8117 GB, free: 6.301 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.8113, allocations: 3.938 kB / 0.8117 GB, free: 6.297 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8113, allocations: 8 kB / 0.8117 GB, free: 6.289 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.8113, allocations: 0 / 0.8117 GB, free: 6.289 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.8115, allocations: 170.1 kB / 0.8118 GB, free: 6.086 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8115, allocations: 3.375 kB / 0.8118 GB, free: 6.086 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.964e-05/0.8116, allocations: 19.98 kB / 0.8119 GB, free: 6.066 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.8116, allocations: 3.938 kB / 0.8119 GB, free: 6.062 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.8117, allocations: 0 / 0.8119 GB, free: 6.062 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.8117, allocations: 11.94 kB / 0.8119 GB, free: 6.051 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8117, allocations: 0 / 0.8119 GB, free: 6.051 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.8119, allocations: 349.3 kB / 0.8122 GB, free: 5.68 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.812, allocations: 88.97 kB / 0.8123 GB, free: 5.574 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.812, allocations: 0 / 0.8123 GB, free: 5.574 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.8122, allocations: 15.98 kB / 0.8123 GB, free: 5.559 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.8122, allocations: 7.984 kB / 0.8123 GB, free: 5.551 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.8122, allocations: 4 kB / 0.8123 GB, free: 5.547 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 6.517e-05/0.8123, allocations: 112.1 kB / 0.8124 GB, free: 5.438 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8123, allocations: 0 / 0.8124 GB, free: 5.438 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0003084/0.8126, allocations: 12 kB / 0.8124 GB, free: 5.426 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 () * 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.0001066/0.8127, allocations: 91.25 kB / 0.8125 GB, free: 5.328 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.8129, allocations: 39.92 kB / 0.8126 GB, free: 5.289 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8129, allocations: 4 kB / 0.8126 GB, free: 5.285 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 4.047e-05/0.8129, allocations: 15.94 kB / 0.8126 GB, free: 5.27 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.8132, allocations: 11.95 kB / 0.8126 GB, free: 5.258 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.8135, allocations: 130.2 kB / 0.8127 GB, free: 5.098 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.8138, allocations: 0.7085 MB / 0.8134 GB, free: 4.363 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 6.019e-05/0.8139, allocations: 8.156 kB / 0.8134 GB, free: 4.352 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.814, allocations: 11.44 kB / 0.8134 GB, free: 4.34 MB / 0.5418 GB Notification: Performance of SimCode: time 2.31e-07/0.814, allocations: 0 / 0.8134 GB, free: 4.34 MB / 0.5418 GB Notification: Performance of Templates: time 0.002579/0.8165, allocations: 0.5736 MB / 0.814 GB, free: 3.777 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