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.00162/0.00162, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001949/0.001949, allocations: 166 kB / 22.46 MB, free: 5.375 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.403/1.403, allocations: 177.2 MB / 202.8 MB, free: 9.203 MB / 190.1 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.6966/0.6966, allocations: 80.21 MB / 339.4 MB, free: 10.89 MB / 318.1 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.352e-06/1.352e-06, allocations: 0 / 0.4929 GB, free: 25.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.009e-05, allocations: 9.453 kB / 0.4929 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.02966/0.02968, allocations: 39.36 MB / 0.5313 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006844/0.03652, allocations: 3.882 MB / 0.5351 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009811/0.0375, allocations: 60.56 kB / 0.5352 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.03887, allocations: 0.501 MB / 0.5357 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003547/0.04242, allocations: 1.505 MB / 0.5371 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002485/0.0449, allocations: 0.9318 MB / 0.538 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002896/0.0478, allocations: 2.393 MB / 0.5404 GB, free: 9.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003732/0.04817, allocations: 163.3 kB / 0.5405 GB, free: 9.664 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/0.05148, allocations: 1.749 MB / 0.5422 GB, free: 8.918 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009919/0.05247, allocations: 0.6618 MB / 0.5429 GB, free: 8.707 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.05263, allocations: 100.5 kB / 0.543 GB, free: 8.707 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.05443, allocations: 0.6822 MB / 0.5436 GB, free: 8.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003228/0.05475, allocations: 283.2 kB / 0.5439 GB, free: 8.328 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006061/0.05536, allocations: 496.1 kB / 0.5444 GB, free: 8.105 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002754/0.05811, allocations: 1.91 MB / 0.5463 GB, free: 6.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.05812, allocations: 0 / 0.5463 GB, free: 6.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.05812, allocations: 0 / 0.5463 GB, free: 6.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.05813, allocations: 1.156 kB / 0.5463 GB, free: 6.91 MB / 462.1 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.003227/0.06136, allocations: 1.654 MB / 0.5479 GB, free: 5.688 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.06139, allocations: 11.75 kB / 0.5479 GB, free: 5.688 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006613/0.06205, allocations: 185.5 kB / 0.5481 GB, free: 5.602 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.06362, allocations: 0.8086 MB / 0.5489 GB, free: 4.984 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-05/0.06369, allocations: 67.88 kB / 0.5489 GB, free: 4.953 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.06383, allocations: 98.77 kB / 0.549 GB, free: 4.918 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.06583, allocations: 1.347 MB / 0.5503 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.06585, allocations: 0 / 0.5503 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.602e-05/0.06594, allocations: 41.59 kB / 0.5504 GB, free: 3.891 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.06596, allocations: 22.75 kB / 0.5504 GB, free: 3.891 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.06777, allocations: 1.012 MB / 0.5514 GB, free: 3.406 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005309/0.07308, allocations: 3.099 MB / 0.5544 GB, free: 264 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.07494, allocations: 0.8733 MB / 0.5553 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008145/0.07576, allocations: 439.4 kB / 0.5557 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003009/0.07876, allocations: 1.33 MB / 0.557 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.021e-05/0.07881, allocations: 55.11 kB / 0.557 GB, free: 13.53 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 2.765e-06/0.07882, allocations: 0 / 0.557 GB, free: 13.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.01089/0.08971, allocations: 4.035 MB / 0.561 GB, free: 9.398 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/0.08979, allocations: 90.27 kB / 0.5611 GB, free: 9.285 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009585/0.09075, allocations: 0.7202 MB / 0.5618 GB, free: 8.555 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.245e-05/0.09084, allocations: 53.69 kB / 0.5618 GB, free: 8.496 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.09124, allocations: 0.4935 MB / 0.5623 GB, free: 7.996 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003714/0.09161, allocations: 436.1 kB / 0.5627 GB, free: 7.566 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/0.09194, allocations: 202.9 kB / 0.5629 GB, free: 7.363 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.09211, allocations: 345.9 kB / 0.5632 GB, free: 7.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009327/0.09304, allocations: 410.4 kB / 0.5636 GB, free: 6.617 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.09415, allocations: 0.5937 MB / 0.5642 GB, free: 5.961 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/0.09627, allocations: 1.063 MB / 0.5652 GB, free: 4.836 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.09628, allocations: 0 / 0.5652 GB, free: 4.836 MB / 478.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003425/0.0997, allocations: 1.506 MB / 0.5667 GB, free: 3.301 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.09972, allocations: 10.17 kB / 0.5667 GB, free: 3.293 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.09973, allocations: 8 kB / 0.5667 GB, free: 3.285 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.1008, allocations: 307.1 kB / 0.567 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009352/0.1017, allocations: 243.6 kB / 0.5672 GB, free: 2.723 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.112, allocations: 11.07 MB / 0.5781 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009742/0.1129, allocations: 51.95 kB / 0.5781 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.1131, allocations: 51.98 kB / 0.5782 GB, free: 6.73 MB / 494.1 MB 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.0005248/0.1136, allocations: 261.6 kB / 0.5784 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/0.1138, allocations: 127.2 kB / 0.5785 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/0.1178, allocations: 1.795 MB / 0.5803 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.1178, allocations: 12 kB / 0.5803 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.1178, allocations: 4 kB / 0.5803 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.1179, allocations: 7.969 kB / 0.5803 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005002/0.1229, allocations: 2.459 MB / 0.5827 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1229, allocations: 0 / 0.5827 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009038/0.1238, allocations: 199.8 kB / 0.5829 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/0.1249, allocations: 322.7 kB / 0.5832 GB, free: 1.406 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-05/0.1249, allocations: 39.97 kB / 0.5832 GB, free: 1.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/0.1354, allocations: 11.09 MB / 0.5941 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.1354, allocations: 8.016 kB / 0.5941 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004555/0.1399, allocations: 2.098 MB / 0.5961 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.1402, allocations: 103.3 kB / 0.5962 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.1404, allocations: 31.89 kB / 0.5963 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008031/0.1412, allocations: 55.95 kB / 0.5963 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.1414, allocations: 112.9 kB / 0.5964 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.933e-05/0.1415, allocations: 35.98 kB / 0.5965 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007515/0.1423, allocations: 0.5269 MB / 0.597 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1423, allocations: 0 / 0.597 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001515/0.1438, allocations: 427.7 kB / 0.5974 GB, free: 2.008 MB / 0.4981 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.0006792/0.1445, allocations: 384 kB / 0.5977 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003703/0.1482, allocations: 1.998 MB / 0.5997 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.1482, allocations: 128 / 0.5997 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002572/0.1508, allocations: 1.535 MB / 0.6012 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.1531, allocations: 490.5 kB / 0.6017 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/0.1585, allocations: 2.521 MB / 0.6041 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005861/0.159, allocations: 0.5136 MB / 0.6046 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007954/0.1598, allocations: 234.5 kB / 0.6049 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/0.1602, allocations: 112.5 kB / 0.605 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of SimCode: time 9.42e-07/0.1602, allocations: 3.938 kB / 0.605 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of Templates: time 0.04629/0.2065, allocations: 26.79 MB / 0.6311 GB, free: 15.59 MB / 0.545 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: 6.091737866401672]