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.00147/0.00147, allocations: 85.22 kB / 19.76 MB, free: 2.023 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.001619/0.001619, allocations: 158.1 kB / 23 MB, free: 4.961 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.325/1.325, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.6989/0.6989, allocations: 79.61 MB / 339.4 MB, free: 11.01 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.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: 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.002481/0.002481, allocations: 86.56 kB / 0.4924 GB, free: 26.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1109, allocations: 74.58 MB / 0.5652 GB, free: 6.004 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.03938/0.1503, allocations: 36.04 MB / 0.6004 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01051/0.1608, allocations: 8.001 MB / 0.6082 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007173/0.1615, allocations: 55.56 kB / 0.6083 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.1627, allocations: 492.6 kB / 0.6087 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002938/0.1656, allocations: 1.332 MB / 0.61 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.1677, allocations: 0.9092 MB / 0.6109 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002171/0.1699, allocations: 2.023 MB / 0.6129 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.1702, allocations: 160.9 kB / 0.613 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.1722, allocations: 1.202 MB / 0.6142 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008733/0.1731, allocations: 0.6803 MB / 0.6149 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.1733, allocations: 96 kB / 0.615 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.1749, allocations: 0.7451 MB / 0.6157 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.1752, allocations: 270.8 kB / 0.616 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005461/0.1757, allocations: 0.5248 MB / 0.6165 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.178, allocations: 1.821 MB / 0.6183 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.178, allocations: 3.984 kB / 0.6183 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.178, allocations: 0 / 0.6183 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.178, allocations: 0 / 0.6183 GB, free: 15.46 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003007/0.181, allocations: 1.628 MB / 0.6199 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.181, allocations: 8.031 kB / 0.6199 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006849/0.1817, allocations: 200 kB / 0.62 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.1831, allocations: 0.7641 MB / 0.6208 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.1832, allocations: 121.4 kB / 0.6209 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.1834, allocations: 87.95 kB / 0.621 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.1853, allocations: 1.378 MB / 0.6223 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.1853, allocations: 0 / 0.6223 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-05/0.1854, allocations: 47.98 kB / 0.6224 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.1854, allocations: 24 kB / 0.6224 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.1871, allocations: 0.9056 MB / 0.6233 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005132/0.1922, allocations: 3.041 MB / 0.6263 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.1943, allocations: 0.8761 MB / 0.6271 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007713/0.195, allocations: 426.2 kB / 0.6275 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00247/0.1975, allocations: 1.34 MB / 0.6288 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.1975, allocations: 43.06 kB / 0.6289 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=99): time 2.464e-06/0.1975, allocations: 0 / 0.6289 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112): time 0.009542/0.2071, allocations: 3.804 MB / 0.6326 GB, free: 376 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.2071, allocations: 98.03 kB / 0.6327 GB, free: 256 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009597/0.2081, allocations: 0.7319 MB / 0.6334 GB, free: 15.51 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.625e-05/0.2082, allocations: 45.7 kB / 0.6334 GB, free: 15.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.2086, allocations: 489.1 kB / 0.6339 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003334/0.2089, allocations: 408.4 kB / 0.6343 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.2092, allocations: 194.9 kB / 0.6345 GB, free: 14.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2094, allocations: 341.9 kB / 0.6348 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000839/0.2102, allocations: 390.4 kB / 0.6352 GB, free: 13.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009812/0.2112, allocations: 0.553 MB / 0.6357 GB, free: 13.04 MB / 0.545 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.002002/0.2132, allocations: 1.002 MB / 0.6367 GB, free: 11.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.2132, allocations: 4 kB / 0.6367 GB, free: 11.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003272/0.2165, allocations: 1.471 MB / 0.6381 GB, free: 10.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.2165, allocations: 11.94 kB / 0.6382 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001505/0.218, allocations: 0.6649 MB / 0.6388 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.2191, allocations: 350.5 kB / 0.6391 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007904/0.2199, allocations: 199.7 kB / 0.6393 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.2303, allocations: 11.56 MB / 0.6506 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007672/0.231, allocations: 40.11 kB / 0.6507 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.2311, allocations: 51.97 kB / 0.6507 GB, free: 12.77 MB / 0.5606 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 (112): * Single equations (assignments): 104 * 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.0004654/0.2316, allocations: 241.6 kB / 0.6509 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/0.2319, allocations: 119.2 kB / 0.651 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003605/0.2355, allocations: 1.589 MB / 0.6526 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.2355, allocations: 8 kB / 0.6526 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.2355, allocations: 15.98 kB / 0.6526 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.2355, allocations: 3.984 kB / 0.6526 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004771/0.2403, allocations: 2.406 MB / 0.655 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001514/0.2418, allocations: 0.6885 MB / 0.6556 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007791/0.2426, allocations: 175.8 kB / 0.6558 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.2437, allocations: 362.5 kB / 0.6562 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.714e-05/0.2438, allocations: 35.97 kB / 0.6562 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/0.2543, allocations: 11.55 MB / 0.6675 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2543, allocations: 3.938 kB / 0.6675 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004465/0.2587, allocations: 2.093 MB / 0.6695 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.259, allocations: 99.23 kB / 0.6696 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.2591, allocations: 24 kB / 0.6696 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007462/0.2599, allocations: 55.95 kB / 0.6697 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/0.2601, allocations: 104.8 kB / 0.6698 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.555e-05/0.2602, allocations: 43.97 kB / 0.6698 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007101/0.2609, allocations: 0.5107 MB / 0.6703 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2609, allocations: 0 / 0.6703 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001492/0.2624, allocations: 423.6 kB / 0.6707 GB, free: 7.223 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.000715/0.2631, allocations: 420.8 kB / 0.6711 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003569/0.2667, allocations: 1.969 MB / 0.6731 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.2667, allocations: 8.062 kB / 0.6731 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002485/0.2692, allocations: 1.535 MB / 0.6746 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.2708, allocations: 346.6 kB / 0.6749 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004743/0.2755, allocations: 2.591 MB / 0.6774 GB, free: 124 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/0.2761, allocations: 0.4927 MB / 0.6779 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007009/0.2768, allocations: 196.2 kB / 0.6781 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.2771, allocations: 104.5 kB / 0.6782 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.2771, allocations: 4 kB / 0.6782 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of Templates: time 0.407/0.6841, allocations: 24.16 MB / 0.7018 GB, free: 118.4 MB / 0.5919 GB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/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.424874741001986]