Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.002084/0.002084, allocations: 110.6 kB / 18.94 MB, free: 2.953 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.002245/0.002245, allocations: 215.5 kB / 22.25 MB, free: 5.133 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.98 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.8022/0.8022, allocations: 100.3 MB / 412.7 MB, free: 3.625 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.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_dev_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_dev_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.002725/0.002725, allocations: 79.42 kB / 0.5638 GB, free: 35.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1223, allocations: 74.47 MB / 0.6365 GB, free: 7.129 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.04872/0.171, allocations: 41.87 MB / 0.6774 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008581/0.1796, allocations: 5.389 MB / 0.6826 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.1809, allocations: 59.44 kB / 0.6827 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.1824, allocations: 0.551 MB / 0.6832 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003778/0.1862, allocations: 1.39 MB / 0.6846 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.1887, allocations: 0.8986 MB / 0.6855 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003006/0.1917, allocations: 2.167 MB / 0.6876 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004158/0.1921, allocations: 169.3 kB / 0.6877 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.195, allocations: 1.377 MB / 0.6891 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.1963, allocations: 0.7973 MB / 0.6899 GB, free: 256 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.1965, allocations: 104 kB / 0.69 GB, free: 152 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.1986, allocations: 0.7686 MB / 0.6907 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003248/0.199, allocations: 278.7 kB / 0.691 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007663/0.1997, allocations: 0.6451 MB / 0.6916 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003328/0.2031, allocations: 1.868 MB / 0.6934 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2031, allocations: 0 / 0.6934 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2031, allocations: 0 / 0.6934 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.2031, allocations: 0 / 0.6934 GB, free: 12.58 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003435/0.2065, allocations: 1.625 MB / 0.695 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.2066, allocations: 13.47 kB / 0.695 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004046/0.207, allocations: 156 kB / 0.6952 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.2087, allocations: 0.7925 MB / 0.696 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.312e-05/0.2088, allocations: 78.12 kB / 0.696 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.2089, allocations: 95.98 kB / 0.6961 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.2109, allocations: 1.085 MB / 0.6972 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.2109, allocations: 0 / 0.6972 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.211, allocations: 47.94 kB / 0.6972 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.211, allocations: 20 kB / 0.6973 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.2131, allocations: 1.04 MB / 0.6983 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00698/0.22, allocations: 4.709 MB / 0.7029 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.222, allocations: 0.8759 MB / 0.7037 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008833/0.2229, allocations: 452.9 kB / 0.7042 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004255/0.2271, allocations: 1.878 MB / 0.706 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.708e-05/0.2272, allocations: 47.22 kB / 0.706 GB, free: 15.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=108): time 2.996e-06/0.2272, allocations: 0 / 0.706 GB, free: 15.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=122): time 0.01101/0.2382, allocations: 4.014 MB / 0.71 GB, free: 11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.2383, allocations: 94.14 kB / 0.71 GB, free: 10.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.2394, allocations: 0.7717 MB / 0.7108 GB, free: 10.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.2395, allocations: 45.7 kB / 0.7108 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/0.24, allocations: 481.5 kB / 0.7113 GB, free: 9.566 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/0.2405, allocations: 448.1 kB / 0.7117 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003398/0.2408, allocations: 194.9 kB / 0.7119 GB, free: 8.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.241, allocations: 361.8 kB / 0.7123 GB, free: 8.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009691/0.242, allocations: 410.4 kB / 0.7126 GB, free: 8.168 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.2431, allocations: 0.5662 MB / 0.7132 GB, free: 7.555 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/0.2453, allocations: 1.039 MB / 0.7142 GB, free: 6.473 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2453, allocations: 0 / 0.7142 GB, free: 6.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003651/0.2489, allocations: 1.498 MB / 0.7157 GB, free: 4.941 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.2489, allocations: 9.406 kB / 0.7157 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.249, allocations: 4 kB / 0.7157 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.2501, allocations: 315 kB / 0.716 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.2511, allocations: 239.7 kB / 0.7162 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.2622, allocations: 11.31 MB / 0.7273 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009563/0.2631, allocations: 43.97 kB / 0.7273 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.2632, allocations: 56.23 kB / 0.7274 GB, free: 8.043 MB / 0.5606 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.0005633/0.2638, allocations: 262.4 kB / 0.7276 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002749/0.2641, allocations: 119.2 kB / 0.7277 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004349/0.2684, allocations: 1.853 MB / 0.7295 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.2684, allocations: 12 kB / 0.7295 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.2685, allocations: 7.938 kB / 0.7295 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/0.2685, allocations: 7.969 kB / 0.7296 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006039/0.2745, allocations: 2.855 MB / 0.7323 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.2745, allocations: 0 / 0.7323 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.2755, allocations: 211.7 kB / 0.7325 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.2767, allocations: 318.6 kB / 0.7329 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.2768, allocations: 43.91 kB / 0.7329 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/0.288, allocations: 11.34 MB / 0.744 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.288, allocations: 0 / 0.744 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005009/0.293, allocations: 2.164 MB / 0.7461 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.2933, allocations: 115.2 kB / 0.7462 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.2935, allocations: 27.94 kB / 0.7462 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007974/0.2943, allocations: 55.95 kB / 0.7463 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/0.2945, allocations: 112.8 kB / 0.7464 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.2946, allocations: 47.97 kB / 0.7464 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008918/0.2955, allocations: 0.5633 MB / 0.747 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2955, allocations: 0 / 0.747 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001509/0.297, allocations: 451.5 kB / 0.7474 GB, free: 2.359 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.0007171/0.2977, allocations: 428.1 kB / 0.7478 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2567/0.5544, allocations: 2.013 MB / 0.7498 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/0.5544, allocations: 0.6562 kB / 0.7498 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00261/0.557, allocations: 1.552 MB / 0.7513 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.5588, allocations: 355.5 kB / 0.7516 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004895/0.5637, allocations: 2.702 MB / 0.7543 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.5644, allocations: 1.1 MB / 0.7553 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009305/0.5653, allocations: 239.6 kB / 0.7556 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.5656, allocations: 122 kB / 0.7557 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/0.5656, allocations: 0 / 0.7557 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.04258/0.6082, allocations: 25.65 MB / 0.7807 GB, free: 94.23 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 7.063086463138461]