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.001752/0.001752, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001919/0.001919, allocations: 217.9 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] 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.7182/0.7182, allocations: 100.3 MB / 413.5 MB, free: 3.684 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 89.38 kB / 0.5645 GB, free: 35.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1119, allocations: 74.46 MB / 0.6372 GB, free: 7.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04281/0.1547, allocations: 40.1 MB / 0.6764 GB, free: 14.94 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.1661, allocations: 8.79 MB / 0.6849 GB, free: 6.125 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.1671, allocations: 51.5 kB / 0.685 GB, free: 6.074 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.1685, allocations: 0.5278 MB / 0.6855 GB, free: 5.543 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.003405/0.1719, allocations: 1.344 MB / 0.6868 GB, free: 4.191 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.1742, allocations: 0.9058 MB / 0.6877 GB, free: 3.285 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0026/0.1768, allocations: 2.012 MB / 0.6897 GB, free: 1.266 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003576/0.1772, allocations: 160.8 kB / 0.6898 GB, free: 1.098 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002312/0.1795, allocations: 1.202 MB / 0.691 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.1807, allocations: 0.7466 MB / 0.6917 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.1809, allocations: 96 kB / 0.6918 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.183, allocations: 0.8777 MB / 0.6927 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.1833, allocations: 262.8 kB / 0.6929 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007316/0.184, allocations: 0.6373 MB / 0.6936 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0028/0.1868, allocations: 1.829 MB / 0.6953 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.1868, allocations: 0 / 0.6953 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1868, allocations: 3.938 kB / 0.6953 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.488e-05/0.1868, allocations: 0 / 0.6953 GB, free: 11.43 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003368/0.1902, allocations: 1.632 MB / 0.6969 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1902, allocations: 9.469 kB / 0.6969 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004006/0.1906, allocations: 152 kB / 0.6971 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.1921, allocations: 0.7563 MB / 0.6978 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.1923, allocations: 125.4 kB / 0.6979 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.1924, allocations: 95.94 kB / 0.698 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.1941, allocations: 1.003 MB / 0.699 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.1941, allocations: 3.938 kB / 0.699 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-05/0.1942, allocations: 40 kB / 0.6991 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.1943, allocations: 20 kB / 0.6991 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.1959, allocations: 0.9017 MB / 0.7 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006131/0.2021, allocations: 4.57 MB / 0.7044 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.204, allocations: 0.8723 MB / 0.7053 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007664/0.2048, allocations: 432.7 kB / 0.7057 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003078/0.2079, allocations: 1.687 MB / 0.7073 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.2079, allocations: 54.89 kB / 0.7074 GB, free: 14.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=99): time 2.164e-06/0.2079, allocations: 4 kB / 0.7074 GB, free: 14.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=112): time 0.009099/0.217, allocations: 3.743 MB / 0.711 GB, free: 10.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.2171, allocations: 93.98 kB / 0.7111 GB, free: 10.56 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009513/0.218, allocations: 0.7675 MB / 0.7119 GB, free: 9.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.362e-05/0.2181, allocations: 45.7 kB / 0.7119 GB, free: 9.719 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.2185, allocations: 477.2 kB / 0.7124 GB, free: 9.246 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/0.2188, allocations: 408.5 kB / 0.7128 GB, free: 8.844 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/0.2191, allocations: 190.9 kB / 0.713 GB, free: 8.648 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2192, allocations: 345.9 kB / 0.7133 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000813/0.2201, allocations: 386.4 kB / 0.7137 GB, free: 7.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009435/0.221, allocations: 0.5405 MB / 0.7142 GB, free: 7.332 MB / 0.545 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.001879/0.2229, allocations: 0.9905 MB / 0.7152 GB, free: 6.289 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2229, allocations: 0 / 0.7152 GB, free: 6.289 MB / 0.545 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003173/0.2261, allocations: 1.456 MB / 0.7166 GB, free: 4.801 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2261, allocations: 4 kB / 0.7166 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.2261, allocations: 12.03 kB / 0.7166 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.2272, allocations: 338.5 kB / 0.7169 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/0.228, allocations: 191.7 kB / 0.7171 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.2384, allocations: 11.79 MB / 0.7286 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006877/0.2391, allocations: 39.97 kB / 0.7286 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.64e-05/0.2392, allocations: 47.94 kB / 0.7287 GB, free: 7.461 MB / 0.5606 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: 18 * 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 (110): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004612/0.2397, allocations: 253.6 kB / 0.7289 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.2399, allocations: 119.2 kB / 0.729 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/0.2435, allocations: 1.598 MB / 0.7306 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.2435, allocations: 12 kB / 0.7306 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.2435, allocations: 4 kB / 0.7306 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.2435, allocations: 3.984 kB / 0.7306 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004965/0.2485, allocations: 2.704 MB / 0.7333 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.2485, allocations: 7.984 kB / 0.7333 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000733/0.2492, allocations: 175.8 kB / 0.7334 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.2503, allocations: 358.5 kB / 0.7338 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.73e-05/0.2504, allocations: 31.98 kB / 0.7338 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/0.2609, allocations: 11.78 MB / 0.7453 GB, free: 5.355 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2609, allocations: 0 / 0.7453 GB, free: 5.355 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004183/0.265, allocations: 2.104 MB / 0.7474 GB, free: 3.211 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.2653, allocations: 99.23 kB / 0.7475 GB, free: 3.113 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.2655, allocations: 24 kB / 0.7475 GB, free: 3.09 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007059/0.2662, allocations: 59.89 kB / 0.7475 GB, free: 3.031 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.2664, allocations: 100.9 kB / 0.7476 GB, free: 2.93 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-05/0.2664, allocations: 39.98 kB / 0.7477 GB, free: 2.891 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.000725/0.2672, allocations: 0.5388 MB / 0.7482 GB, free: 2.34 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2672, allocations: 0 / 0.7482 GB, free: 2.34 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001489/0.2687, allocations: 471.3 kB / 0.7487 GB, free: 1.879 MB / 0.5763 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 (91): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007613/0.2694, allocations: 477.2 kB / 0.7491 GB, free: 1.406 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.232/0.5014, allocations: 1.993 MB / 0.7511 GB, free: 106.8 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/0.5014, allocations: 1.156 kB / 0.7511 GB, free: 106.8 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.002436/0.5039, allocations: 1.564 MB / 0.7526 GB, free: 105.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.5055, allocations: 362.9 kB / 0.7529 GB, free: 105.8 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.5096, allocations: 2.639 MB / 0.7555 GB, free: 104.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005686/0.5101, allocations: 1.085 MB / 0.7566 GB, free: 104.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/0.5105, allocations: 117.2 kB / 0.7567 GB, free: 104.2 MB / 0.5763 GB Notification: Performance of SimCode: time 9.02e-07/0.5105, allocations: 0 / 0.7567 GB, free: 104.2 MB / 0.5763 GB Notification: Performance of Templates: time 0.04051/0.551, allocations: 53.12 MB / 0.8086 GB, free: 66.38 MB / 0.5763 GB " [Timeout remaining time 659] 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/jenkins1/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: 11.610768479062244]