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.001556/0.001556, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001699/0.001699, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.376/1.376, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] 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.7205/0.7205, allocations: 79.61 MB / 339.4 MB, free: 10.97 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.002565/0.002565, allocations: 87.16 kB / 0.4924 GB, free: 26.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1173, allocations: 74.58 MB / 0.5652 GB, free: 6.008 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.04505/0.1623, allocations: 37.58 MB / 0.6019 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0082/0.1705, allocations: 4.977 MB / 0.6068 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.1716, allocations: 55.5 kB / 0.6068 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.1731, allocations: 0.4926 MB / 0.6073 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003728/0.1768, allocations: 1.371 MB / 0.6086 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.1793, allocations: 0.8903 MB / 0.6095 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003034/0.1824, allocations: 2.171 MB / 0.6116 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004184/0.1828, allocations: 157.4 kB / 0.6118 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/0.1857, allocations: 1.385 MB / 0.6131 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.1869, allocations: 0.7231 MB / 0.6138 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002028/0.1871, allocations: 100 kB / 0.6139 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001901/0.189, allocations: 0.6788 MB / 0.6146 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003696/0.1894, allocations: 274.8 kB / 0.6149 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007023/0.1901, allocations: 0.5403 MB / 0.6154 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003054/0.1931, allocations: 1.848 MB / 0.6172 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1931, allocations: 0 / 0.6172 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1931, allocations: 0 / 0.6172 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.617e-05/0.1931, allocations: 0 / 0.6172 GB, free: 0.5625 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.003323/0.1965, allocations: 1.624 MB / 0.6188 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.1965, allocations: 13.45 kB / 0.6188 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006768/0.1972, allocations: 180 kB / 0.619 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.1989, allocations: 0.7887 MB / 0.6197 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.171e-05/0.1989, allocations: 78.12 kB / 0.6198 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.1991, allocations: 92 kB / 0.6199 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.2011, allocations: 1.324 MB / 0.6212 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.2012, allocations: 7.938 kB / 0.6212 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-05/0.2013, allocations: 40 kB / 0.6212 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.2013, allocations: 24 kB / 0.6213 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.2031, allocations: 1.004 MB / 0.6222 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005247/0.2084, allocations: 2.914 MB / 0.6251 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.2102, allocations: 0.8564 MB / 0.6259 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008208/0.2111, allocations: 448.9 kB / 0.6263 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003037/0.2141, allocations: 1.33 MB / 0.6276 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.2141, allocations: 43.22 kB / 0.6277 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=108): time 2.925e-06/0.2142, allocations: 0 / 0.6277 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122): time 0.01075/0.2249, allocations: 4.035 MB / 0.6316 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.225, allocations: 90.27 kB / 0.6317 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009694/0.2259, allocations: 0.6966 MB / 0.6324 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.2261, allocations: 53.69 kB / 0.6324 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/0.2265, allocations: 489.3 kB / 0.6329 GB, free: 56 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004193/0.2269, allocations: 440.3 kB / 0.6333 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/0.2272, allocations: 202.9 kB / 0.6335 GB, free: 15.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.2274, allocations: 345.7 kB / 0.6339 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009432/0.2283, allocations: 414.4 kB / 0.6342 GB, free: 14.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.2294, allocations: 0.5725 MB / 0.6348 GB, free: 14.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/0.2316, allocations: 1.046 MB / 0.6358 GB, free: 12.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.2316, allocations: 0 / 0.6358 GB, free: 12.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003443/0.235, allocations: 1.483 MB / 0.6373 GB, free: 11.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.2351, allocations: 8 kB / 0.6373 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.2351, allocations: 4 kB / 0.6373 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.2361, allocations: 306.7 kB / 0.6376 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009906/0.2371, allocations: 231.7 kB / 0.6378 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.2474, allocations: 11.09 MB / 0.6486 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008223/0.2482, allocations: 47.97 kB / 0.6487 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.2484, allocations: 47.98 kB / 0.6487 GB, free: 14.86 MB / 0.5606 GB 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 (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.000551/0.249, allocations: 252.8 kB / 0.649 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/0.2492, allocations: 123.2 kB / 0.6491 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003937/0.2532, allocations: 1.787 MB / 0.6508 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.2532, allocations: 12 kB / 0.6508 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.2532, allocations: 4 kB / 0.6508 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.2532, allocations: 11.97 kB / 0.6509 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005258/0.2585, allocations: 2.451 MB / 0.6532 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.2585, allocations: 4 kB / 0.6533 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008756/0.2594, allocations: 207.6 kB / 0.6534 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.2604, allocations: 322.8 kB / 0.6538 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.2605, allocations: 35.98 kB / 0.6538 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/0.2709, allocations: 11.11 MB / 0.6646 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.2709, allocations: 8.219 kB / 0.6646 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004597/0.2755, allocations: 2.098 MB / 0.6667 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.2758, allocations: 99.23 kB / 0.6668 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.276, allocations: 35.88 kB / 0.6668 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007766/0.2767, allocations: 55.94 kB / 0.6669 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.277, allocations: 101 kB / 0.667 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.2771, allocations: 43.97 kB / 0.667 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007305/0.2778, allocations: 0.5107 MB / 0.6675 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2778, allocations: 0 / 0.6675 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001447/0.2793, allocations: 407.7 kB / 0.6679 GB, free: 10.18 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 (98): * Single equations (assignments): 90 * 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.0006341/0.2799, allocations: 378 kB / 0.6683 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003741/0.2836, allocations: 1.985 MB / 0.6702 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.2836, allocations: 0 / 0.6702 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002653/0.2863, allocations: 1.539 MB / 0.6717 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.2879, allocations: 313.9 kB / 0.672 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005344/0.2932, allocations: 2.641 MB / 0.6746 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006327/0.2939, allocations: 0.4972 MB / 0.6751 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008686/0.2947, allocations: 213.4 kB / 0.6753 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.2951, allocations: 112.5 kB / 0.6754 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of SimCode: time 1.703e-06/0.2951, allocations: 0 / 0.6754 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of Templates: time 0.2827/0.5778, allocations: 23.12 MB / 0.698 GB, free: 120.3 MB / 0.5919 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 -s ida -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/jenkins1/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: 6.366544386022724]