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") [: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.003595/0.003595, allocations: 184.9 kB / 7.461 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.491/1.491, allocations: 221.4 MB / 229.3 MB, free: 3.113 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.001019/0.001019, allocations: 88.44 kB / 280.1 MB, free: 1.293 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.102/0.102, allocations: 20.18 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.113/1.113, allocations: 127.6 MB / 0.5229 GB, free: 4.699 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 9.838e-06/1.04e-05, allocations: 0 / 0.6104 GB, free: 10.91 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6056/0.6056, allocations: 82.84 MB / 0.6913 GB, free: 33.8 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/0.8087, allocations: 118.1 MB / 0.8066 GB, free: 7.598 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.8091, allocations: 73.36 kB / 0.8066 GB, free: 7.527 MB / 0.5418 GB Notification: Performance of FrontEnd: time 0.005938/0.8151, allocations: 1.503 MB / 0.8081 GB, free: 6.074 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.8151, allocations: 0.6875 kB / 0.8081 GB, free: 6.074 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.0006494/0.8158, allocations: 390.9 kB / 0.8085 GB, free: 5.652 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/0.8159, allocations: 8.031 kB / 0.8085 GB, free: 5.645 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.687e-05/0.816, allocations: 11.91 kB / 0.8085 GB, free: 5.633 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.8164, allocations: 202 kB / 0.8087 GB, free: 5.398 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.8164, allocations: 4.562 kB / 0.8087 GB, free: 5.395 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.8164, allocations: 4 kB / 0.8087 GB, free: 5.391 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001626/0.8166, allocations: 29.16 kB / 0.8087 GB, free: 5.363 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.8168, allocations: 102.7 kB / 0.8088 GB, free: 5.246 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.8169, allocations: 0.6094 kB / 0.8088 GB, free: 5.246 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.8169, allocations: 0 / 0.8088 GB, free: 5.246 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.8169, allocations: 5.625 kB / 0.8088 GB, free: 5.242 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.818, allocations: 0.5557 MB / 0.8094 GB, free: 4.645 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.8182, allocations: 67.77 kB / 0.8094 GB, free: 4.551 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.426e-05/0.8183, allocations: 37.56 kB / 0.8095 GB, free: 4.508 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.8183, allocations: 7.938 kB / 0.8095 GB, free: 4.5 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.8184, allocations: 34.56 kB / 0.8095 GB, free: 4.457 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=5): time 1.903e-06/0.8184, allocations: 0 / 0.8095 GB, free: 4.457 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5): time 0.000361/0.8187, allocations: 72.69 kB / 0.8096 GB, free: 4.383 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.8188, allocations: 128.5 kB / 0.8097 GB, free: 4.227 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.819, allocations: 132.7 kB / 0.8098 GB, free: 4.094 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.8191, allocations: 25.7 kB / 0.8099 GB, free: 4.062 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 9.665e-05/0.8192, allocations: 108.2 kB / 0.81 GB, free: 3.953 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.8192, allocations: 24.69 kB / 0.81 GB, free: 3.93 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.8192, allocations: 0 / 0.81 GB, free: 3.93 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.8194, allocations: 320.4 kB / 0.8103 GB, free: 3.609 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.959e-05/0.8194, allocations: 12 kB / 0.8103 GB, free: 3.598 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.518e-05/0.8195, allocations: 59.95 kB / 0.8104 GB, free: 3.52 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.881e-05/0.8196, allocations: 18.48 kB / 0.8104 GB, free: 3.504 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.8196, allocations: 0 / 0.8104 GB, free: 3.504 MB / 0.5418 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001931/0.8198, allocations: 87.95 kB / 0.8105 GB, free: 3.414 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.8198, allocations: 8 kB / 0.8105 GB, free: 3.406 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.8199, allocations: 2.062 kB / 0.8105 GB, free: 3.406 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.8199, allocations: 11.89 kB / 0.8105 GB, free: 3.395 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.8201, allocations: 20.61 kB / 0.8105 GB, free: 3.375 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.8201, allocations: 4.625 kB / 0.8105 GB, free: 3.371 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.8202, allocations: 13.64 kB / 0.8105 GB, free: 3.359 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.8203, allocations: 8.656 kB / 0.8105 GB, free: 3.352 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 0.0001187/0.8204, allocations: 117.4 kB / 0.8106 GB, free: 3.23 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.472e-05/0.8205, allocations: 11 kB / 0.8107 GB, free: 3.223 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.8205, allocations: 16.58 kB / 0.8107 GB, free: 3.207 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.8206, allocations: 0 / 0.8107 GB, free: 3.207 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.8206, allocations: 1.438 kB / 0.8107 GB, free: 3.207 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.8206, allocations: 4 kB / 0.8107 GB, free: 3.203 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.8209, allocations: 178 kB / 0.8108 GB, free: 2.992 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8209, allocations: 0 / 0.8108 GB, free: 2.992 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.821, allocations: 22.64 kB / 0.8109 GB, free: 2.973 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.821, allocations: 0 / 0.8109 GB, free: 2.973 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.8211, allocations: 0 / 0.8109 GB, free: 2.973 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.8211, allocations: 6.5 kB / 0.8109 GB, free: 2.969 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.8211, allocations: 0.6562 kB / 0.8109 GB, free: 2.969 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003624/0.8215, allocations: 347.9 kB / 0.8112 GB, free: 2.602 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.8215, allocations: 93.47 kB / 0.8113 GB, free: 2.492 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.8216, allocations: 2.406 kB / 0.8113 GB, free: 2.492 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.8218, allocations: 11.98 kB / 0.8113 GB, free: 2.48 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.8219, allocations: 4 kB / 0.8113 GB, free: 2.477 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.8219, allocations: 0.6562 kB / 0.8113 GB, free: 2.477 MB / 0.5418 GB Notification: Performance of sort global known variables: time 9.642e-05/0.822, allocations: 112.7 kB / 0.8114 GB, free: 2.367 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0003277/0.8223, allocations: 12.72 kB / 0.8114 GB, free: 2.355 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.0001639/0.8225, allocations: 95.92 kB / 0.8115 GB, free: 2.25 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0001785/0.8227, allocations: 37.09 kB / 0.8116 GB, free: 2.215 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.8227, allocations: 0 / 0.8116 GB, free: 2.215 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 5.218e-05/0.8227, allocations: 29.23 kB / 0.8116 GB, free: 2.188 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.823, allocations: 3.906 kB / 0.8116 GB, free: 2.184 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.8236, allocations: 131.2 kB / 0.8117 GB, free: 2.023 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005128/0.8241, allocations: 0.7162 MB / 0.8124 GB, free: 1.281 MB / 0.5418 GB Notification: Performance of SimCode: time 1.032e-06/0.8241, allocations: 0.7188 kB / 0.8124 GB, free: 1.281 MB / 0.5418 GB Notification: Performance of Templates: time 0.003823/0.8279, allocations: 0.7469 MB / 0.8131 GB, free: 0.6016 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