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.001286/0.001286, 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.001495/0.001495, allocations: 214.7 kB / 22.24 MB, free: 4.855 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.373/1.373, allocations: 230.6 MB / 256 MB, free: 7.805 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.7551/0.7551, allocations: 100.9 MB / 413.3 MB, free: 2.887 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.002453/0.002453, allocations: 87.42 kB / 0.5646 GB, free: 35.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1218, allocations: 74.63 MB / 0.6374 GB, free: 5.977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04265/0.1644, allocations: 36.04 MB / 0.6726 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01141/0.1758, allocations: 7.997 MB / 0.6804 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.177, allocations: 51.56 kB / 0.6805 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.1785, allocations: 484.6 kB / 0.681 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003732/0.1822, allocations: 1.336 MB / 0.6823 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.185, allocations: 0.9099 MB / 0.6831 GB, free: 7 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003162/0.1881, allocations: 2.028 MB / 0.6851 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004661/0.1886, allocations: 148.8 kB / 0.6853 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002582/0.1912, allocations: 1.21 MB / 0.6864 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.1924, allocations: 0.6725 MB / 0.6871 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002943/0.1927, allocations: 100 kB / 0.6872 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.1949, allocations: 0.7529 MB / 0.6879 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003628/0.1952, allocations: 262.8 kB / 0.6882 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007973/0.196, allocations: 0.5248 MB / 0.6887 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00315/0.1992, allocations: 1.825 MB / 0.6905 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1992, allocations: 4 kB / 0.6905 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1992, allocations: 0 / 0.6905 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.1992, allocations: 3.938 kB / 0.6905 GB, free: 15.44 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003383/0.2026, allocations: 1.621 MB / 0.6921 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2026, allocations: 8.031 kB / 0.6921 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007303/0.2034, allocations: 208 kB / 0.6923 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.2049, allocations: 0.7525 MB / 0.693 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.205, allocations: 121.4 kB / 0.6931 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.2052, allocations: 91.95 kB / 0.6932 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.2072, allocations: 1.382 MB / 0.6946 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.2072, allocations: 0 / 0.6946 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.57e-05/0.2073, allocations: 40 kB / 0.6946 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.2073, allocations: 20 kB / 0.6946 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.209, allocations: 0.9056 MB / 0.6955 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00548/0.2145, allocations: 3.045 MB / 0.6985 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.2165, allocations: 0.8739 MB / 0.6993 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007697/0.2173, allocations: 423.7 kB / 0.6997 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002608/0.2199, allocations: 1.332 MB / 0.701 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.2199, allocations: 46.98 kB / 0.7011 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=99): time 2.645e-06/0.2199, allocations: 0 / 0.7011 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112): time 0.009699/0.2296, allocations: 3.81 MB / 0.7048 GB, free: 372 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.536e-05/0.2297, allocations: 93.98 kB / 0.7049 GB, free: 260 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000961/0.2307, allocations: 0.7319 MB / 0.7056 GB, free: 15.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.305e-05/0.2308, allocations: 45.7 kB / 0.7057 GB, free: 15.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00041/0.2312, allocations: 493.1 kB / 0.7061 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003516/0.2315, allocations: 408.4 kB / 0.7065 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003211/0.2319, allocations: 186.9 kB / 0.7067 GB, free: 14.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.232, allocations: 349.9 kB / 0.707 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008341/0.2329, allocations: 386.5 kB / 0.7074 GB, free: 13.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000985/0.2338, allocations: 0.5569 MB / 0.7079 GB, free: 13.04 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.001988/0.2358, allocations: 1.014 MB / 0.7089 GB, free: 11.97 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2358, allocations: 0 / 0.7089 GB, free: 11.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003301/0.2391, allocations: 1.462 MB / 0.7104 GB, free: 10.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.2392, allocations: 8.781 kB / 0.7104 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001504/0.2407, allocations: 0.6688 MB / 0.711 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.2419, allocations: 346.5 kB / 0.7113 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008108/0.2427, allocations: 199.7 kB / 0.7115 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.2536, allocations: 11.56 MB / 0.7228 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008598/0.2544, allocations: 44.03 kB / 0.7229 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.855e-05/0.2545, allocations: 47.98 kB / 0.7229 GB, free: 12.77 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: 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 (112): * Single equations (assignments): 104 * 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.00049/0.255, allocations: 249.7 kB / 0.7231 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/0.2553, allocations: 119.2 kB / 0.7233 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/0.2588, allocations: 1.591 MB / 0.7248 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.2588, allocations: 12 kB / 0.7248 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.2588, allocations: 4 kB / 0.7248 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.2589, allocations: 4.125 kB / 0.7248 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004759/0.2636, allocations: 2.416 MB / 0.7272 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001459/0.2651, allocations: 0.6806 MB / 0.7279 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/0.2658, allocations: 187.8 kB / 0.728 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.267, allocations: 350.5 kB / 0.7284 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.139e-05/0.2671, allocations: 35.98 kB / 0.7284 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01073/0.2778, allocations: 11.55 MB / 0.7397 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.2778, allocations: 7.969 kB / 0.7397 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004413/0.2822, allocations: 2.089 MB / 0.7417 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/0.2825, allocations: 107.2 kB / 0.7418 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.2826, allocations: 24 kB / 0.7419 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007/0.2833, allocations: 51.95 kB / 0.7419 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/0.2835, allocations: 96.84 kB / 0.742 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-05/0.2836, allocations: 47.97 kB / 0.742 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007022/0.2843, allocations: 0.5107 MB / 0.7425 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2843, allocations: 0 / 0.7425 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00147/0.2858, allocations: 427.6 kB / 0.7429 GB, free: 7.215 MB / 0.5762 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.0006441/0.2864, allocations: 406.4 kB / 0.7433 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003436/0.2899, allocations: 1.992 MB / 0.7453 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.2899, allocations: 0 / 0.7453 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002469/0.2924, allocations: 1.527 MB / 0.7468 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.294, allocations: 351.7 kB / 0.7471 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/0.2986, allocations: 2.613 MB / 0.7497 GB, free: 104 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2421/0.5406, allocations: 493.9 kB / 0.7501 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001047/0.5417, allocations: 202.5 kB / 0.7503 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.542, allocations: 98.53 kB / 0.7504 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.542, allocations: 0.8438 kB / 0.7504 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.03911/0.5811, allocations: 25.81 MB / 0.7756 GB, free: 96.53 MB / 0.5762 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/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: 6.437222354114056]