Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001683/0.001683, allocations: 99.64 kB / 18.94 MB, free: 2.551 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: 212.3 kB / 22.25 MB, free: 4.859 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7466/0.7466, allocations: 94.62 MB / 407 MB, free: 8.926 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_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_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.002624/0.002624, allocations: 88.92 kB / 0.5554 GB, free: 38.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1095, allocations: 73.05 MB / 0.6268 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04504/0.1545, allocations: 36.02 MB / 0.6619 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01255/0.1671, allocations: 7.997 MB / 0.6697 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.1683, allocations: 55.5 kB / 0.6698 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.1699, allocations: 468.7 kB / 0.6702 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003995/0.1739, allocations: 1.34 MB / 0.6715 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.1765, allocations: 0.9118 MB / 0.6724 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00284/0.1793, allocations: 2.004 MB / 0.6744 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000413/0.1798, allocations: 152.8 kB / 0.6745 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002752/0.1825, allocations: 1.202 MB / 0.6757 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.1839, allocations: 0.6842 MB / 0.6764 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003538/0.1842, allocations: 96 kB / 0.6765 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.1867, allocations: 0.749 MB / 0.6772 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003968/0.1871, allocations: 258.8 kB / 0.6775 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009373/0.188, allocations: 0.5248 MB / 0.678 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003758/0.1918, allocations: 1.81 MB / 0.6797 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1918, allocations: 4 kB / 0.6797 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1918, allocations: 0 / 0.6797 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.804e-05/0.1918, allocations: 0 / 0.6797 GB, free: 9.262 MB / 0.5137 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.003787/0.1956, allocations: 1.632 MB / 0.6813 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1956, allocations: 12.03 kB / 0.6813 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008377/0.1965, allocations: 196 kB / 0.6815 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.1984, allocations: 0.7525 MB / 0.6823 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.1986, allocations: 121.4 kB / 0.6824 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/0.1988, allocations: 95.94 kB / 0.6825 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.2012, allocations: 1.367 MB / 0.6838 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.2013, allocations: 3.938 kB / 0.6838 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/0.2014, allocations: 40 kB / 0.6838 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.2014, allocations: 20 kB / 0.6839 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.2032, allocations: 0.9017 MB / 0.6847 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006236/0.2095, allocations: 3.029 MB / 0.6877 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.2117, allocations: 0.8795 MB / 0.6886 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000873/0.2125, allocations: 421.3 kB / 0.689 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002958/0.2155, allocations: 1.34 MB / 0.6903 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.2155, allocations: 43 kB / 0.6903 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=99): time 3.176e-06/0.2155, allocations: 0 / 0.6903 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112): time 0.01057/0.2261, allocations: 3.802 MB / 0.694 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/0.2262, allocations: 93.98 kB / 0.6941 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.2273, allocations: 0.728 MB / 0.6948 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.2274, allocations: 49.7 kB / 0.6949 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/0.2278, allocations: 489.2 kB / 0.6953 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004179/0.2282, allocations: 408.4 kB / 0.6957 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/0.2286, allocations: 186.8 kB / 0.6959 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2287, allocations: 349.9 kB / 0.6962 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009005/0.2296, allocations: 386.4 kB / 0.6966 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.2307, allocations: 0.553 MB / 0.6971 GB, free: 6.875 MB / 0.5294 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.0021/0.2328, allocations: 0.9934 MB / 0.6981 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.2328, allocations: 0 / 0.6981 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003532/0.2363, allocations: 1.465 MB / 0.6996 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.2364, allocations: 4 kB / 0.6996 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001596/0.2379, allocations: 0.669 MB / 0.7002 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.2392, allocations: 350.5 kB / 0.7005 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008788/0.2401, allocations: 199.8 kB / 0.7007 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/0.2512, allocations: 11.55 MB / 0.712 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008784/0.2521, allocations: 39.98 kB / 0.712 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.2523, allocations: 51.98 kB / 0.7121 GB, free: 6.633 MB / 0.545 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: 19 * 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 (111): * Single equations (assignments): 103 * 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.0005435/0.2528, allocations: 261.4 kB / 0.7123 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/0.2531, allocations: 119.2 kB / 0.7125 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003852/0.257, allocations: 1.584 MB / 0.714 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.257, allocations: 12 kB / 0.714 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.257, allocations: 4 kB / 0.714 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.257, allocations: 8.109 kB / 0.714 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005266/0.2623, allocations: 2.408 MB / 0.7164 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001602/0.2639, allocations: 0.6847 MB / 0.7171 GB, free: 1.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008208/0.2647, allocations: 183.7 kB / 0.7172 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.266, allocations: 350.5 kB / 0.7176 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/0.2661, allocations: 35.97 kB / 0.7176 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/0.2772, allocations: 11.55 MB / 0.7289 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.2772, allocations: 4 kB / 0.7289 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004845/0.2821, allocations: 2.089 MB / 0.7309 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.2824, allocations: 111.2 kB / 0.731 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.2826, allocations: 24 kB / 0.731 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008031/0.2834, allocations: 51.95 kB / 0.7311 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/0.2836, allocations: 104.8 kB / 0.7312 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.2837, allocations: 43.97 kB / 0.7312 GB, free: 2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008053/0.2845, allocations: 0.5029 MB / 0.7317 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2845, allocations: 0 / 0.7317 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001776/0.2863, allocations: 427.7 kB / 0.7321 GB, free: 1.082 MB / 0.5606 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.0007622/0.2871, allocations: 405.2 kB / 0.7325 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003733/0.2908, allocations: 1.98 MB / 0.7345 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.2908, allocations: 0 / 0.7345 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002635/0.2935, allocations: 1.538 MB / 0.736 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.2953, allocations: 333.6 kB / 0.7363 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/0.3005, allocations: 2.612 MB / 0.7388 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/0.3011, allocations: 0.4927 MB / 0.7393 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008544/0.302, allocations: 200.1 kB / 0.7395 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/0.3023, allocations: 99.34 kB / 0.7396 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.3023, allocations: 3.938 kB / 0.7396 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of Templates: time 0.2888/0.5911, allocations: 25.8 MB / 0.7648 GB, free: 110.4 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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: 6.775161935016513]