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.001294/0.001294, allocations: 77.33 kB / 19.18 MB, free: 2.512 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.001488/0.001488, allocations: 161.2 kB / 22.46 MB, free: 5.391 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.424/1.424, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.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.9514/0.9514, allocations: 116 MB / 375.2 MB, free: 7.527 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.5538 GB, free: 13.63 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.775e-05, allocations: 2.281 kB / 0.5538 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04491/0.04494, allocations: 37.78 MB / 0.5907 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.05534, allocations: 6.944 MB / 0.5974 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.05637, allocations: 67.44 kB / 0.5975 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.05773, allocations: 0.4884 MB / 0.598 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.06152, allocations: 1.459 MB / 0.5994 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.06411, allocations: 0.9725 MB / 0.6003 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003138/0.06725, allocations: 2.271 MB / 0.6026 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.06765, allocations: 149.1 kB / 0.6027 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003085/0.07073, allocations: 1.565 MB / 0.6042 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.07176, allocations: 0.6192 MB / 0.6048 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.07195, allocations: 96 kB / 0.6049 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.07397, allocations: 0.7525 MB / 0.6057 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003142/0.07428, allocations: 270.7 kB / 0.6059 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007026/0.07499, allocations: 486.7 kB / 0.6064 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003478/0.07846, allocations: 1.943 MB / 0.6083 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.07847, allocations: 3.938 kB / 0.6083 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.213e-06/0.07847, allocations: 0 / 0.6083 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.929e-05/0.07849, allocations: 0 / 0.6083 GB, free: 5.566 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003571/0.08206, allocations: 1.696 MB / 0.6099 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.08209, allocations: 8.031 kB / 0.61 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008105/0.08291, allocations: 207.9 kB / 0.6102 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.0846, allocations: 0.8185 MB / 0.611 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.08474, allocations: 121.4 kB / 0.6111 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.0849, allocations: 91.95 kB / 0.6112 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.08709, allocations: 1.404 MB / 0.6125 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.08712, allocations: 0 / 0.6125 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.08722, allocations: 36 kB / 0.6126 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.08724, allocations: 24 kB / 0.6126 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.08915, allocations: 0.9173 MB / 0.6135 GB, free: 44 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006095/0.09524, allocations: 3.322 MB / 0.6167 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/0.0976, allocations: 0.8661 MB / 0.6176 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008614/0.09846, allocations: 407.7 kB / 0.618 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002881/0.1013, allocations: 1.313 MB / 0.6192 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.1014, allocations: 51.02 kB / 0.6193 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=99): time 2.996e-06/0.1014, allocations: 0 / 0.6193 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112): time 0.01081/0.1122, allocations: 3.784 MB / 0.623 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.1123, allocations: 98.05 kB / 0.6231 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.1134, allocations: 0.7976 MB / 0.6239 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.1135, allocations: 49.7 kB / 0.6239 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/0.1139, allocations: 0.5089 MB / 0.6244 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/0.1143, allocations: 404.5 kB / 0.6248 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003451/0.1146, allocations: 194.9 kB / 0.625 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1148, allocations: 357.8 kB / 0.6253 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009204/0.1157, allocations: 382.5 kB / 0.6257 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.1168, allocations: 0.5673 MB / 0.6262 GB, free: 2.621 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.002208/0.1191, allocations: 1.005 MB / 0.6272 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.1191, allocations: 4 kB / 0.6272 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003641/0.1227, allocations: 1.475 MB / 0.6287 GB, free: 40 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1227, allocations: 4 kB / 0.6287 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001662/0.1244, allocations: 0.657 MB / 0.6293 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.1257, allocations: 350.5 kB / 0.6296 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009047/0.1266, allocations: 211.7 kB / 0.6298 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.1379, allocations: 11.54 MB / 0.6411 GB, free: 2.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.139, allocations: 43.97 kB / 0.6412 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.1391, allocations: 47.98 kB / 0.6412 GB, free: 2.34 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: 22 * 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 (115): * Single equations (assignments): 107 * 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.0005452/0.1396, allocations: 257.6 kB / 0.6414 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/0.1399, allocations: 127.2 kB / 0.6416 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00394/0.1439, allocations: 1.574 MB / 0.6431 GB, free: 348 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.1439, allocations: 12 kB / 0.6431 GB, free: 336 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.1439, allocations: 4 kB / 0.6431 GB, free: 332 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/0.1439, allocations: 11.91 kB / 0.6431 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/0.1491, allocations: 2.402 MB / 0.6455 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00162/0.1508, allocations: 0.669 MB / 0.6461 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008586/0.1516, allocations: 179.8 kB / 0.6463 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001282/0.1529, allocations: 358.5 kB / 0.6466 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.571e-05/0.153, allocations: 31.97 kB / 0.6467 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/0.1645, allocations: 11.55 MB / 0.6579 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1645, allocations: 0 / 0.6579 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004771/0.1693, allocations: 2.066 MB / 0.66 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005418/0.1698, allocations: 211 kB / 0.6602 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.17, allocations: 20 kB / 0.6602 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000822/0.1708, allocations: 63.88 kB / 0.6602 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/0.1711, allocations: 101 kB / 0.6603 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-05/0.1712, allocations: 35.98 kB / 0.6604 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007901/0.172, allocations: 0.5518 MB / 0.6609 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.172, allocations: 0 / 0.6609 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001611/0.1736, allocations: 459.6 kB / 0.6614 GB, free: 12.66 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.0007832/0.1744, allocations: 422.3 kB / 0.6618 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003915/0.1783, allocations: 1.962 MB / 0.6637 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.1783, allocations: 0 / 0.6637 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002629/0.1809, allocations: 1.527 MB / 0.6652 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.1835, allocations: 0.502 MB / 0.6657 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005502/0.189, allocations: 2.513 MB / 0.6681 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005893/0.1896, allocations: 0.5142 MB / 0.6686 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000866/0.1905, allocations: 224.9 kB / 0.6688 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.1908, allocations: 100.5 kB / 0.6689 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.1908, allocations: 0 / 0.6689 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of Templates: time 0.2888/0.4796, allocations: 27.5 MB / 0.6958 GB, free: 125.5 MB / 0.5919 GB " [Timeout remaining time 660] 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.928080104291439]