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.00136/0.00136, allocations: 92.7 kB / 19.44 MB, free: 328 kB / 13.93 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.001514/0.001514, allocations: 161.3 kB / 22.75 MB, free: 1.66 MB / 18.57 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.447/1.447, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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 1.022/1.022, allocations: 118.6 MB / 378.2 MB, free: 1.465 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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.382e-06/1.382e-06, allocations: 0 / 482.9 MB, free: 8.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.011e-05, allocations: 5.688 kB / 482.9 MB, free: 8.309 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04373/0.04375, allocations: 37.82 MB / 0.5085 GB, free: 11.13 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.05559, allocations: 6.967 MB / 0.5153 GB, free: 4.137 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.05661, allocations: 67.38 kB / 0.5154 GB, free: 4.07 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.05802, allocations: 0.5 MB / 0.5159 GB, free: 3.566 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003919/0.06194, allocations: 1.482 MB / 0.5173 GB, free: 2.074 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.0645, allocations: 0.9691 MB / 0.5183 GB, free: 1.102 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00295/0.06745, allocations: 2.279 MB / 0.5205 GB, free: 14.81 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003503/0.0678, allocations: 157.2 kB / 0.5206 GB, free: 14.65 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002898/0.07069, allocations: 1.573 MB / 0.5222 GB, free: 13.07 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009711/0.07166, allocations: 0.6231 MB / 0.5228 GB, free: 12.45 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.07184, allocations: 100 kB / 0.5229 GB, free: 12.35 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.07375, allocations: 0.7525 MB / 0.5236 GB, free: 11.59 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003297/0.07408, allocations: 278.7 kB / 0.5239 GB, free: 11.32 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007193/0.0748, allocations: 486.8 kB / 0.5243 GB, free: 10.84 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002967/0.07777, allocations: 1.97 MB / 0.5263 GB, free: 8.867 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.07777, allocations: 3.984 kB / 0.5263 GB, free: 8.863 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.07777, allocations: 0 / 0.5263 GB, free: 8.863 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.07779, allocations: 0 / 0.5263 GB, free: 8.863 MB / 458.7 MB 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.003552/0.08134, allocations: 1.71 MB / 0.5279 GB, free: 7.117 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.08137, allocations: 8.031 kB / 0.5279 GB, free: 7.109 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009761/0.08235, allocations: 307.5 kB / 0.5282 GB, free: 6.809 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.08412, allocations: 0.9014 MB / 0.5291 GB, free: 5.859 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.08426, allocations: 118 kB / 0.5292 GB, free: 5.734 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.08444, allocations: 100.3 kB / 0.5293 GB, free: 5.637 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.08675, allocations: 1.405 MB / 0.5307 GB, free: 4.098 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.08677, allocations: 7.875 kB / 0.5307 GB, free: 4.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.08688, allocations: 40 kB / 0.5307 GB, free: 4.051 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.08691, allocations: 20 kB / 0.5308 GB, free: 4.031 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.08898, allocations: 0.9173 MB / 0.5317 GB, free: 3.117 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006134/0.09512, allocations: 3.318 MB / 0.5349 GB, free: 15.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/0.09745, allocations: 0.883 MB / 0.5358 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008746/0.09832, allocations: 403.8 kB / 0.5361 GB, free: 14.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002831/0.1012, allocations: 1.313 MB / 0.5374 GB, free: 13.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.1012, allocations: 47.06 kB / 0.5375 GB, free: 13.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=99): time 2.485e-06/0.1012, allocations: 0 / 0.5375 GB, free: 13.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=112): time 0.01092/0.1121, allocations: 3.85 MB / 0.5412 GB, free: 9.074 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/0.1122, allocations: 90.09 kB / 0.5413 GB, free: 8.969 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.1133, allocations: 0.8149 MB / 0.5421 GB, free: 8.133 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.093e-05/0.1134, allocations: 49.7 kB / 0.5422 GB, free: 8.078 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/0.1139, allocations: 0.5128 MB / 0.5427 GB, free: 7.559 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003943/0.1143, allocations: 408.5 kB / 0.543 GB, free: 7.156 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/0.1147, allocations: 190.9 kB / 0.5432 GB, free: 6.965 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.1149, allocations: 349.9 kB / 0.5436 GB, free: 6.617 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009289/0.1158, allocations: 382.4 kB / 0.5439 GB, free: 6.242 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.117, allocations: 0.5672 MB / 0.5445 GB, free: 5.609 MB / 474.7 MB 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.002454/0.1194, allocations: 1.009 MB / 0.5455 GB, free: 4.535 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1194, allocations: 0 / 0.5455 GB, free: 4.535 MB / 474.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003702/0.1231, allocations: 1.526 MB / 0.547 GB, free: 2.977 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.1231, allocations: 8 kB / 0.547 GB, free: 2.969 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001651/0.1248, allocations: 0.6568 MB / 0.5476 GB, free: 2.293 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/0.1264, allocations: 402.6 kB / 0.548 GB, free: 1.875 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008891/0.1273, allocations: 207.7 kB / 0.5482 GB, free: 1.672 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/0.14, allocations: 11.59 MB / 0.5595 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009869/0.141, allocations: 40.11 kB / 0.5595 GB, free: 5.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.1411, allocations: 51.97 kB / 0.5596 GB, free: 5.18 MB / 490.7 MB 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.0005522/0.1417, allocations: 253.6 kB / 0.5598 GB, free: 4.922 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/0.1421, allocations: 167.2 kB / 0.56 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004033/0.1461, allocations: 1.59 MB / 0.5615 GB, free: 3.148 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.1461, allocations: 12 kB / 0.5616 GB, free: 3.137 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.1461, allocations: 8 kB / 0.5616 GB, free: 3.129 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.1461, allocations: 7.984 kB / 0.5616 GB, free: 3.121 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00534/0.1515, allocations: 2.395 MB / 0.5639 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001699/0.1532, allocations: 0.6767 MB / 0.5646 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008698/0.154, allocations: 175.8 kB / 0.5647 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001722/0.1558, allocations: 430.6 kB / 0.5652 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.929e-05/0.1558, allocations: 27.98 kB / 0.5652 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/0.1685, allocations: 11.58 MB / 0.5765 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.1685, allocations: 3.938 kB / 0.5765 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005115/0.1736, allocations: 2.113 MB / 0.5786 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000611/0.1742, allocations: 211 kB / 0.5788 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.1743, allocations: 20 kB / 0.5788 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008229/0.1752, allocations: 51.95 kB / 0.5788 GB, free: 488 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002942/0.1755, allocations: 104.9 kB / 0.5789 GB, free: 384 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.1756, allocations: 39.97 kB / 0.579 GB, free: 344 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001034/0.1766, allocations: 0.5644 MB / 0.5795 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1766, allocations: 4 kB / 0.5795 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001663/0.1783, allocations: 455.6 kB / 0.58 GB, free: 15.31 MB / 0.5105 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.0007522/0.179, allocations: 420.1 kB / 0.5804 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00394/0.183, allocations: 1.98 MB / 0.5823 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.183, allocations: 3.938 kB / 0.5823 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002729/0.1857, allocations: 1.519 MB / 0.5838 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/0.1882, allocations: 0.5312 MB / 0.5843 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005687/0.1939, allocations: 2.582 MB / 0.5868 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/0.1946, allocations: 0.5146 MB / 0.5873 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008604/0.1955, allocations: 229 kB / 0.5875 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.1958, allocations: 112.5 kB / 0.5876 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of SimCode: time 8.11e-07/0.1958, allocations: 0 / 0.5876 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of Templates: time 0.05154/0.2473, allocations: 27.84 MB / 0.6148 GB, free: 11.84 MB / 0.5417 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.807320064981468]