Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.00153/0.00153, 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.001714/0.001714, allocations: 215.8 kB / 23.01 MB, free: 5.125 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.368/1.368, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.7133/0.7133, allocations: 94.57 MB / 407.8 MB, free: 9.152 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.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.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.002395/0.002395, allocations: 91.06 kB / 0.5562 GB, free: 38.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1276, allocations: 73.05 MB / 0.6275 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.04607/0.1736, allocations: 41.87 MB / 0.6684 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008342/0.182, allocations: 5.389 MB / 0.6737 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.1832, allocations: 59.44 kB / 0.6737 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.185, allocations: 0.5511 MB / 0.6743 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003802/0.1888, allocations: 1.386 MB / 0.6756 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.1913, allocations: 0.907 MB / 0.6765 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003167/0.1944, allocations: 2.171 MB / 0.6786 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004569/0.1949, allocations: 161.4 kB / 0.6788 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003034/0.1979, allocations: 1.385 MB / 0.6801 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.1993, allocations: 0.7934 MB / 0.6809 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003159/0.1996, allocations: 100 kB / 0.681 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.202, allocations: 0.7646 MB / 0.6818 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003957/0.2024, allocations: 270.8 kB / 0.682 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009855/0.2033, allocations: 0.6528 MB / 0.6827 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003597/0.2069, allocations: 1.868 MB / 0.6845 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2069, allocations: 0 / 0.6845 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2069, allocations: 0 / 0.6845 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.076e-05/0.207, allocations: 0 / 0.6845 GB, free: 5.398 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003726/0.2107, allocations: 1.625 MB / 0.6861 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2108, allocations: 16.03 kB / 0.6861 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004454/0.2112, allocations: 152 kB / 0.6862 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.2129, allocations: 0.7887 MB / 0.687 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.213, allocations: 78.12 kB / 0.6871 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.2131, allocations: 95.95 kB / 0.6872 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.215, allocations: 1.101 MB / 0.6882 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.2151, allocations: 0 / 0.6882 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.84e-05/0.2151, allocations: 40 kB / 0.6883 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.2152, allocations: 20 kB / 0.6883 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.217, allocations: 1.032 MB / 0.6893 GB, free: 372 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006412/0.2234, allocations: 4.713 MB / 0.6939 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.2252, allocations: 0.8656 MB / 0.6947 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000813/0.226, allocations: 458.2 kB / 0.6952 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003868/0.2299, allocations: 1.878 MB / 0.697 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.23, allocations: 43.22 kB / 0.6971 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=108): time 2.885e-06/0.23, allocations: 0 / 0.6971 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122): time 0.01004/0.24, allocations: 4.015 MB / 0.701 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.2401, allocations: 90.2 kB / 0.7011 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.2411, allocations: 0.7678 MB / 0.7018 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.859e-05/0.2412, allocations: 45.7 kB / 0.7019 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.2416, allocations: 481.5 kB / 0.7023 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.242, allocations: 456 kB / 0.7028 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003114/0.2423, allocations: 202.9 kB / 0.7029 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.2424, allocations: 349.9 kB / 0.7033 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009116/0.2433, allocations: 414.4 kB / 0.7037 GB, free: 1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.2444, allocations: 0.5647 MB / 0.7042 GB, free: 400 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/0.2464, allocations: 1.047 MB / 0.7053 GB, free: 15.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2464, allocations: 0 / 0.7053 GB, free: 15.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003394/0.2498, allocations: 1.495 MB / 0.7067 GB, free: 13.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.2498, allocations: 8 kB / 0.7067 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.2498, allocations: 4 kB / 0.7067 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.2509, allocations: 306.8 kB / 0.707 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000895/0.2518, allocations: 239.7 kB / 0.7072 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.2622, allocations: 11.31 MB / 0.7183 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009374/0.2631, allocations: 55.95 kB / 0.7183 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.2633, allocations: 47.98 kB / 0.7184 GB, free: 0.8633 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (124): * Single equations (assignments): 116 * 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%), (1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005615/0.2639, allocations: 257.6 kB / 0.7186 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/0.2642, allocations: 119.2 kB / 0.7187 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004019/0.2682, allocations: 1.857 MB / 0.7206 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.2682, allocations: 12 kB / 0.7206 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/0.2682, allocations: 7.938 kB / 0.7206 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.2683, allocations: 3.984 kB / 0.7206 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005553/0.2738, allocations: 2.851 MB / 0.7234 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.2738, allocations: 0 / 0.7234 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009016/0.2747, allocations: 223.8 kB / 0.7236 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00106/0.2758, allocations: 318.6 kB / 0.7239 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.2759, allocations: 35.98 kB / 0.7239 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/0.2862, allocations: 11.34 MB / 0.735 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2862, allocations: 0 / 0.735 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004764/0.2909, allocations: 2.172 MB / 0.7371 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.2912, allocations: 107.2 kB / 0.7372 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.2915, allocations: 31.94 kB / 0.7372 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008425/0.2923, allocations: 55.94 kB / 0.7373 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/0.2926, allocations: 112.8 kB / 0.7374 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.2927, allocations: 47.98 kB / 0.7375 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008359/0.2935, allocations: 0.5632 MB / 0.738 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2935, allocations: 0 / 0.738 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001528/0.295, allocations: 451.5 kB / 0.7384 GB, free: 11.19 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (reservoir.M,reservoir.U_med,flowResistance1.rear.m_flow,flowResistance2.rear.m_flow,reservoir2.M,reservoir2.U_med,flowResistance4.inlet.m_flow,flowResistance5.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 (104): * Single equations (assignments): 96 * 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,2,100.0%), (1,2,100.0%), (1,2,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.0007665/0.2958, allocations: 423 kB / 0.7388 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003708/0.2995, allocations: 2.016 MB / 0.7408 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.2995, allocations: 0 / 0.7408 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002537/0.3021, allocations: 1.558 MB / 0.7423 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.3038, allocations: 358.7 kB / 0.7427 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005297/0.3091, allocations: 2.734 MB / 0.7453 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008486/0.31, allocations: 1.1 MB / 0.7464 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/0.3104, allocations: 135.4 kB / 0.7465 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/0.3104, allocations: 0 / 0.7465 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of Templates: time 0.303/0.6134, allocations: 55.88 MB / 0.8011 GB, free: 76.46 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.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: 12.042965149041265]