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.001579/0.001579, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00175/0.00175, allocations: 222.3 kB / 23 MB, free: 4.91 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.7423/0.7423, allocations: 94.63 MB / 407.8 MB, free: 8.914 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.002648/0.002648, allocations: 85.28 kB / 0.5562 GB, free: 38.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1082, allocations: 73.04 MB / 0.6275 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04309/0.1512, allocations: 36.02 MB / 0.6627 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.1629, allocations: 7.985 MB / 0.6705 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.1639, allocations: 55.5 kB / 0.6705 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.1653, allocations: 476.7 kB / 0.671 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003509/0.1688, allocations: 1.336 MB / 0.6723 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.1712, allocations: 0.9078 MB / 0.6732 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002666/0.1738, allocations: 2.004 MB / 0.6751 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003374/0.1742, allocations: 148.8 kB / 0.6753 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.1766, allocations: 1.194 MB / 0.6764 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.1778, allocations: 0.6842 MB / 0.6771 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.1779, allocations: 103.9 kB / 0.6772 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.1798, allocations: 0.7529 MB / 0.6779 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.1801, allocations: 262.8 kB / 0.6782 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005615/0.1807, allocations: 0.5209 MB / 0.6787 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002638/0.1833, allocations: 1.81 MB / 0.6805 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1833, allocations: 0 / 0.6805 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1833, allocations: 4 kB / 0.6805 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.982e-05/0.1833, allocations: 0 / 0.6805 GB, free: 9.266 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.003282/0.1866, allocations: 1.628 MB / 0.6821 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1867, allocations: 12.03 kB / 0.6821 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007303/0.1874, allocations: 196 kB / 0.6823 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.189, allocations: 0.7641 MB / 0.683 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.1891, allocations: 121.4 kB / 0.6831 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.1893, allocations: 91.94 kB / 0.6832 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.1912, allocations: 1.37 MB / 0.6845 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.1913, allocations: 3.938 kB / 0.6846 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/0.1913, allocations: 40 kB / 0.6846 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.1914, allocations: 20 kB / 0.6846 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.1931, allocations: 0.9017 MB / 0.6855 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00558/0.1987, allocations: 3.029 MB / 0.6884 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/0.2008, allocations: 0.8784 MB / 0.6893 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007848/0.2016, allocations: 423.7 kB / 0.6897 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002685/0.2043, allocations: 1.332 MB / 0.691 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/0.2043, allocations: 51 kB / 0.6911 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=99): time 2.846e-06/0.2043, allocations: 0 / 0.6911 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112): time 0.009926/0.2142, allocations: 3.798 MB / 0.6948 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.2143, allocations: 90.05 kB / 0.6949 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009462/0.2153, allocations: 0.7279 MB / 0.6956 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.211e-05/0.2153, allocations: 53.64 kB / 0.6956 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/0.2158, allocations: 485.2 kB / 0.6961 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003467/0.2161, allocations: 408.4 kB / 0.6965 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/0.2165, allocations: 190.9 kB / 0.6966 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002278/0.2167, allocations: 349.9 kB / 0.697 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008356/0.2175, allocations: 386.5 kB / 0.6974 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.2185, allocations: 0.5491 MB / 0.6979 GB, free: 6.879 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.002011/0.2205, allocations: 1.005 MB / 0.6989 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.2205, allocations: 4 kB / 0.6989 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003381/0.2239, allocations: 1.454 MB / 0.7003 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.2239, allocations: 8 kB / 0.7003 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001545/0.2255, allocations: 0.6729 MB / 0.701 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.2267, allocations: 342.5 kB / 0.7013 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008391/0.2275, allocations: 199.8 kB / 0.7015 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.2384, allocations: 11.55 MB / 0.7128 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008597/0.2392, allocations: 39.98 kB / 0.7128 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.93e-05/0.2393, allocations: 47.97 kB / 0.7128 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.0004927/0.2398, allocations: 253.3 kB / 0.7131 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/0.2401, allocations: 123.2 kB / 0.7132 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003696/0.2438, allocations: 1.591 MB / 0.7148 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.2438, allocations: 19.92 kB / 0.7148 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.2438, allocations: 4 kB / 0.7148 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.2438, allocations: 7.984 kB / 0.7148 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004987/0.2488, allocations: 2.404 MB / 0.7171 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001514/0.2503, allocations: 0.6768 MB / 0.7178 GB, free: 1.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/0.2511, allocations: 179.8 kB / 0.718 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.2523, allocations: 358.4 kB / 0.7183 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.034e-05/0.2524, allocations: 35.97 kB / 0.7183 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/0.2633, allocations: 11.55 MB / 0.7296 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2633, allocations: 0 / 0.7296 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004443/0.2678, allocations: 2.089 MB / 0.7317 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.268, allocations: 111.2 kB / 0.7318 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.2682, allocations: 24 kB / 0.7318 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007338/0.2689, allocations: 51.95 kB / 0.7318 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.2691, allocations: 104.8 kB / 0.7319 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-05/0.2692, allocations: 43.97 kB / 0.732 GB, free: 2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006936/0.2699, allocations: 0.5029 MB / 0.7325 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2699, allocations: 0 / 0.7325 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001474/0.2714, allocations: 427.7 kB / 0.7329 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.0006563/0.2721, allocations: 402.6 kB / 0.7333 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003542/0.2756, allocations: 1.984 MB / 0.7352 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.2756, allocations: 0 / 0.7352 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00246/0.2781, allocations: 1.531 MB / 0.7367 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.001597/0.2797, allocations: 343.4 kB / 0.737 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/0.2845, allocations: 2.641 MB / 0.7396 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.2851, allocations: 0.4966 MB / 0.7401 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003709/0.2854, allocations: 111.4 kB / 0.7402 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.2854, allocations: 0 / 0.7402 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of Templates: time 0.2844/0.5698, allocations: 53.08 MB / 0.792 GB, free: 85.68 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/jenkins1/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: 11.628274865914136]