Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008455/0.0008455, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000897/0.000897, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8696/0.8696, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6105/0.6105, allocations: 116 MB / 376 MB, free: 4.188 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.5545 GB, free: 12.85 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.408e-05, allocations: 6.219 kB / 0.5545 GB, free: 12.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.02415/0.02418, allocations: 37.79 MB / 0.5914 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006619/0.03079, allocations: 6.94 MB / 0.5982 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007125/0.03151, allocations: 63.44 kB / 0.5982 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009751/0.03248, allocations: 0.4923 MB / 0.5987 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.03496, allocations: 1.467 MB / 0.6001 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.03647, allocations: 0.9688 MB / 0.6011 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001423/0.03789, allocations: 2.271 MB / 0.6033 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.03812, allocations: 145.1 kB / 0.6035 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.03968, allocations: 1.561 MB / 0.605 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004883/0.04017, allocations: 0.6231 MB / 0.6056 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.32e-05/0.04026, allocations: 96 kB / 0.6057 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.04167, allocations: 0.7563 MB / 0.6064 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.04184, allocations: 274.7 kB / 0.6067 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002971/0.04214, allocations: 474.8 kB / 0.6071 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.04373, allocations: 1.939 MB / 0.609 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.04374, allocations: 7.938 kB / 0.609 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.333e-06/0.04374, allocations: 0 / 0.609 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.04375, allocations: 4 kB / 0.609 GB, free: 4.781 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001796/0.04555, allocations: 1.694 MB / 0.6107 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.04558, allocations: 8.031 kB / 0.6107 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004117/0.04599, allocations: 211.9 kB / 0.6109 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009857/0.04698, allocations: 0.8185 MB / 0.6117 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-05/0.04707, allocations: 117.4 kB / 0.6118 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.439e-05/0.04716, allocations: 95.95 kB / 0.6119 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.04832, allocations: 1.4 MB / 0.6133 GB, free: 240 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.04834, allocations: 4 kB / 0.6133 GB, free: 236 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003542/0.0487, allocations: 44 kB / 0.6133 GB, free: 192 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.04871, allocations: 20 kB / 0.6133 GB, free: 172 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.04973, allocations: 0.9174 MB / 0.6142 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003089/0.05282, allocations: 3.31 MB / 0.6175 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.05396, allocations: 0.8676 MB / 0.6183 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.05441, allocations: 408.9 kB / 0.6187 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001499/0.05591, allocations: 1.309 MB / 0.62 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.05594, allocations: 47.02 kB / 0.62 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=99): time 1.983e-06/0.05594, allocations: 0 / 0.62 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of matching and sorting (n=112): time 0.005524/0.06146, allocations: 3.784 MB / 0.6237 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.0615, allocations: 90.05 kB / 0.6238 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/0.06211, allocations: 0.8053 MB / 0.6246 GB, free: 4.367 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.06216, allocations: 45.7 kB / 0.6246 GB, free: 4.316 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.06241, allocations: 0.5089 MB / 0.6251 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.06261, allocations: 408.5 kB / 0.6255 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.0628, allocations: 194.9 kB / 0.6257 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.06289, allocations: 349.9 kB / 0.626 GB, free: 2.855 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/0.06338, allocations: 382.4 kB / 0.6264 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005654/0.06394, allocations: 0.5672 MB / 0.627 GB, free: 1.848 MB / 0.5417 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.06535, allocations: 1.009 MB / 0.6279 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.06535, allocations: 0 / 0.6279 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001818/0.06717, allocations: 1.483 MB / 0.6294 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.06719, allocations: 18.31 kB / 0.6294 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008276/0.06802, allocations: 0.6451 MB / 0.63 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/0.06863, allocations: 350.5 kB / 0.6304 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.06904, allocations: 203.7 kB / 0.6306 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006094/0.07514, allocations: 11.54 MB / 0.6418 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/0.07556, allocations: 39.97 kB / 0.6419 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/0.07562, allocations: 51.98 kB / 0.6419 GB, free: 1.562 MB / 0.5573 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (115): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,6,100.0%), (1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000351/0.07598, allocations: 263.9 kB / 0.6422 GB, free: 1.297 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.07613, allocations: 127.2 kB / 0.6423 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2402/0.3163, allocations: 1.568 MB / 0.6438 GB, free: 93.16 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.3163, allocations: 14.78 kB / 0.6438 GB, free: 93.16 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.3163, allocations: 6.453 kB / 0.6439 GB, free: 93.16 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-05/0.3163, allocations: 6.078 kB / 0.6439 GB, free: 93.16 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003677/0.32, allocations: 2.398 MB / 0.6462 GB, free: 92.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0008996/0.3209, allocations: 0.6695 MB / 0.6469 GB, free: 92.53 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004497/0.3214, allocations: 184.1 kB / 0.647 GB, free: 92.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006877/0.3221, allocations: 356.2 kB / 0.6474 GB, free: 92.39 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.768e-05/0.3221, allocations: 34.02 kB / 0.6474 GB, free: 92.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00461/0.3267, allocations: 11.54 MB / 0.6587 GB, free: 81.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3267, allocations: 5.141 kB / 0.6587 GB, free: 81.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.3293, allocations: 2.067 MB / 0.6607 GB, free: 80.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000419/0.3297, allocations: 214.5 kB / 0.6609 GB, free: 80.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.898e-05/0.3298, allocations: 24.61 kB / 0.6609 GB, free: 80.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.3302, allocations: 55.02 kB / 0.661 GB, free: 80.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/0.3304, allocations: 97.75 kB / 0.6611 GB, free: 80.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.819e-05/0.3305, allocations: 44.91 kB / 0.6611 GB, free: 80.54 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005382/0.331, allocations: 0.5488 MB / 0.6616 GB, free: 80.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.331, allocations: 0 / 0.6616 GB, free: 80.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001152/0.3322, allocations: 453.5 kB / 0.6621 GB, free: 80.24 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (reservoir1.M,reservoir1.U_med,pump.m_flow,conductionElement.h,reservoir.M,reservoir.U_med,flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow) * 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 (92): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,6,100.0%), (1,4,100.0%), (1,1,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004863/0.3326, allocations: 411.3 kB / 0.6625 GB, free: 80.12 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001936/0.3346, allocations: 1.976 MB / 0.6644 GB, free: 78.87 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3346, allocations: 2.656 kB / 0.6644 GB, free: 78.87 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.3357, allocations: 1.525 MB / 0.6659 GB, free: 77.75 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.3371, allocations: 0.5105 MB / 0.6664 GB, free: 77.62 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/0.3411, allocations: 2.562 MB / 0.6689 GB, free: 76.39 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007631/0.3418, allocations: 0.5162 MB / 0.6694 GB, free: 76.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004256/0.3423, allocations: 122 kB / 0.6695 GB, free: 76.23 MB / 0.5573 GB Notification: Performance of SimCode: time 1.583e-06/0.3423, allocations: 0 / 0.6695 GB, free: 76.23 MB / 0.5573 GB Notification: Performance of Templates: time 0.03944/0.3817, allocations: 56.43 MB / 0.7246 GB, free: 30.66 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.Reservoir_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.596748511306942]