Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001176/0.001176, allocations: 72.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008886/0.0008886, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8569/0.8569, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.4919/0.4919, allocations: 80.17 MB / 340.1 MB, free: 7.543 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/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_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_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.4936 GB, free: 6.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.779e-05, allocations: 6.047 kB / 0.4936 GB, free: 6.328 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.02222/0.02223, allocations: 39.36 MB / 0.532 GB, free: 0.5 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004184/0.02642, allocations: 3.874 MB / 0.5358 GB, free: 12.61 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005198/0.02694, allocations: 63.44 kB / 0.5359 GB, free: 12.55 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008967/0.02784, allocations: 0.5156 MB / 0.5364 GB, free: 12.03 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.02972, allocations: 1.502 MB / 0.5379 GB, free: 10.52 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.03099, allocations: 0.9335 MB / 0.5388 GB, free: 9.586 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.03248, allocations: 2.386 MB / 0.5411 GB, free: 7.191 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.03272, allocations: 161.5 kB / 0.5413 GB, free: 7.023 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.03456, allocations: 1.748 MB / 0.543 GB, free: 5.27 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005034/0.03506, allocations: 0.6659 MB / 0.5436 GB, free: 4.602 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.507e-05/0.03516, allocations: 100 kB / 0.5437 GB, free: 4.504 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009234/0.03608, allocations: 0.6823 MB / 0.5444 GB, free: 3.82 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.03625, allocations: 274.7 kB / 0.5446 GB, free: 3.551 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003039/0.03655, allocations: 498.8 kB / 0.5451 GB, free: 3.062 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.03827, allocations: 1.92 MB / 0.547 GB, free: 1.137 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.03827, allocations: 0 / 0.547 GB, free: 1.137 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.03827, allocations: 0 / 0.547 GB, free: 1.137 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.03828, allocations: 0 / 0.547 GB, free: 1.137 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001736/0.04002, allocations: 1.646 MB / 0.5486 GB, free: 15.46 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.04005, allocations: 13.47 kB / 0.5486 GB, free: 15.45 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003501/0.0404, allocations: 188 kB / 0.5488 GB, free: 15.26 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009661/0.04137, allocations: 0.8112 MB / 0.5496 GB, free: 14.42 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/0.04141, allocations: 74.38 kB / 0.5497 GB, free: 14.35 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.335e-05/0.0415, allocations: 96.33 kB / 0.5497 GB, free: 14.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.04265, allocations: 1.342 MB / 0.5511 GB, free: 12.81 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.04266, allocations: 4 kB / 0.5511 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.655e-05/0.04272, allocations: 36 kB / 0.5511 GB, free: 12.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.04273, allocations: 24 kB / 0.5511 GB, free: 12.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.04378, allocations: 1.016 MB / 0.5521 GB, free: 11.73 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/0.04686, allocations: 3.102 MB / 0.5551 GB, free: 8.555 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.04794, allocations: 0.8699 MB / 0.556 GB, free: 7.668 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/0.0484, allocations: 433.9 kB / 0.5564 GB, free: 7.242 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/0.04997, allocations: 1.337 MB / 0.5577 GB, free: 5.887 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.05, allocations: 55.11 kB / 0.5578 GB, free: 5.824 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 2.815e-06/0.05, allocations: 0 / 0.5578 GB, free: 5.824 MB / 474.7 MB Notification: Performance of matching and sorting (n=122): time 0.00576/0.05576, allocations: 4.028 MB / 0.5617 GB, free: 1.703 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.0558, allocations: 94.27 kB / 0.5618 GB, free: 1.586 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005383/0.05634, allocations: 0.728 MB / 0.5625 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.05639, allocations: 49.7 kB / 0.5625 GB, free: 0.793 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.05662, allocations: 0.4935 MB / 0.563 GB, free: 300 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.05683, allocations: 440.3 kB / 0.5634 GB, free: 15.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.05702, allocations: 198.9 kB / 0.5636 GB, free: 15.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.0571, allocations: 353.9 kB / 0.564 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005182/0.05762, allocations: 410.4 kB / 0.5644 GB, free: 14.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/0.05822, allocations: 0.5857 MB / 0.5649 GB, free: 14.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.0594, allocations: 1.067 MB / 0.566 GB, free: 13.13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.0594, allocations: 4 kB / 0.566 GB, free: 13.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00205/0.06145, allocations: 1.499 MB / 0.5674 GB, free: 11.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.06147, allocations: 8 kB / 0.5675 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.06148, allocations: 4 kB / 0.5675 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00053/0.06201, allocations: 306.8 kB / 0.5677 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.06247, allocations: 235.7 kB / 0.568 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005451/0.06792, allocations: 11.08 MB / 0.5788 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.06831, allocations: 55.95 kB / 0.5788 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.013e-05/0.06837, allocations: 44.17 kB / 0.5789 GB, free: 15.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (126): * Single equations (assignments): 118 * 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.0003138/0.06868, allocations: 261.5 kB / 0.5791 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.06881, allocations: 127.2 kB / 0.5793 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.07097, allocations: 1.797 MB / 0.581 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.07098, allocations: 12 kB / 0.581 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.07098, allocations: 8 kB / 0.581 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.07099, allocations: 7.969 kB / 0.581 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/0.07411, allocations: 2.455 MB / 0.5834 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.07411, allocations: 0 / 0.5834 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/0.07452, allocations: 195.8 kB / 0.5836 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005008/0.07502, allocations: 330.6 kB / 0.5839 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/0.07508, allocations: 39.91 kB / 0.584 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005215/0.08029, allocations: 11.09 MB / 0.5948 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.0803, allocations: 4.031 kB / 0.5948 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.08297, allocations: 2.102 MB / 0.5969 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.08309, allocations: 103.3 kB / 0.597 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.783e-05/0.08318, allocations: 31.89 kB / 0.597 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.08353, allocations: 51.95 kB / 0.597 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.0837, allocations: 108.9 kB / 0.5971 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/0.08375, allocations: 39.98 kB / 0.5972 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004287/0.08418, allocations: 0.5269 MB / 0.5977 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.08418, allocations: 4 kB / 0.5977 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009041/0.08508, allocations: 427.7 kB / 0.5981 GB, free: 10.3 MB / 0.5105 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.0004081/0.08549, allocations: 390.2 kB / 0.5985 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.08739, allocations: 1.989 MB / 0.6004 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.08739, allocations: 3.938 kB / 0.6004 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.08887, allocations: 1.535 MB / 0.6019 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.09006, allocations: 491.8 kB / 0.6024 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.09296, allocations: 2.563 MB / 0.6049 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.09329, allocations: 0.5136 MB / 0.6054 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.09352, allocations: 124.5 kB / 0.6055 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of SimCode: time 6.71e-07/0.09352, allocations: 0 / 0.6055 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of Templates: time 0.1939/0.2874, allocations: 56.99 MB / 0.6612 GB, free: 129 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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.844900398515165]