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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.5928/0.5928, allocations: 90.29 MB / 394.8 MB, free: 3.883 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002348/0.002348, allocations: 79.86 kB / 0.5387 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3691, allocations: 70.83 MB / 0.6078 GB, free: 7.414 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.04521/0.4143, allocations: 41.6 MB / 0.6485 GB, free: 9.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008425/0.4227, allocations: 5.317 MB / 0.6536 GB, free: 5.316 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.4237, allocations: 17.94 kB / 0.6537 GB, free: 5.309 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.4252, allocations: 0.533 MB / 0.6542 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003474/0.4287, allocations: 1.332 MB / 0.6555 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.4311, allocations: 0.8827 MB / 0.6563 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002637/0.4337, allocations: 2.018 MB / 0.6583 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003476/0.4341, allocations: 166.4 kB / 0.6585 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002638/0.4367, allocations: 1.262 MB / 0.6597 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000975/0.4377, allocations: 0.7711 MB / 0.6605 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.4379, allocations: 100.3 kB / 0.6606 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.4398, allocations: 0.7604 MB / 0.6613 GB, free: 196 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000304/0.4401, allocations: 264.7 kB / 0.6615 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006794/0.4408, allocations: 0.615 MB / 0.6621 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002668/0.4435, allocations: 1.715 MB / 0.6638 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4435, allocations: 0 / 0.6638 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4435, allocations: 5.094 kB / 0.6638 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.4435, allocations: 0 / 0.6638 GB, free: 14.45 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.00319/0.4467, allocations: 1.572 MB / 0.6654 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4467, allocations: 10.09 kB / 0.6654 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004007/0.4471, allocations: 137.4 kB / 0.6655 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.4482, allocations: 0.6426 MB / 0.6661 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.42e-05/0.4483, allocations: 72.44 kB / 0.6662 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.4485, allocations: 105.7 kB / 0.6663 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.4504, allocations: 1.075 MB / 0.6674 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.4505, allocations: 5.062 kB / 0.6674 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.4506, allocations: 41.78 kB / 0.6674 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.4506, allocations: 21.84 kB / 0.6674 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.4524, allocations: 1.008 MB / 0.6684 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006301/0.4587, allocations: 4.726 MB / 0.673 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.4606, allocations: 0.858 MB / 0.6739 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008258/0.4614, allocations: 451.5 kB / 0.6743 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004832/0.4662, allocations: 3.472 MB / 0.6777 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.4663, allocations: 51.11 kB / 0.6777 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=108): time 2.325e-06/0.4663, allocations: 0 / 0.6777 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=122): time 0.01096/0.4772, allocations: 4.398 MB / 0.682 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.4773, allocations: 90.2 kB / 0.6821 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008842/0.4782, allocations: 0.6451 MB / 0.6827 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.677e-05/0.4783, allocations: 49.7 kB / 0.6828 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.4786, allocations: 417.4 kB / 0.6832 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/0.479, allocations: 444.2 kB / 0.6836 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003408/0.4793, allocations: 198.9 kB / 0.6838 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.4795, allocations: 353.9 kB / 0.6841 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009397/0.4805, allocations: 410.4 kB / 0.6845 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.4815, allocations: 0.5662 MB / 0.6851 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/0.4837, allocations: 1.044 MB / 0.6861 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.4837, allocations: 3.938 kB / 0.6861 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003593/0.4873, allocations: 1.488 MB / 0.6876 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.4873, allocations: 7.938 kB / 0.6876 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.4874, allocations: 4 kB / 0.6876 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.4886, allocations: 310.7 kB / 0.6879 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009655/0.4895, allocations: 239.6 kB / 0.6881 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.5007, allocations: 12.13 MB / 0.6999 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009971/0.5017, allocations: 55.89 kB / 0.7 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.5018, allocations: 51.98 kB / 0.7 GB, free: 10.28 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (124): * Single equations (assignments): 116 * 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.0005124/0.5023, allocations: 253.5 kB / 0.7003 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.5025, allocations: 111.3 kB / 0.7004 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00423/0.5068, allocations: 1.837 MB / 0.7022 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.5068, allocations: 19.92 kB / 0.7022 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.5068, allocations: 4 kB / 0.7022 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.5068, allocations: 3.984 kB / 0.7022 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005578/0.5124, allocations: 2.84 MB / 0.705 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.5124, allocations: 4 kB / 0.705 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009379/0.5133, allocations: 215.9 kB / 0.7052 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.5144, allocations: 314.5 kB / 0.7055 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.956e-05/0.5145, allocations: 43.97 kB / 0.7055 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01103/0.5256, allocations: 12.15 MB / 0.7174 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.5256, allocations: 8 kB / 0.7174 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004625/0.5302, allocations: 2.151 MB / 0.7195 GB, free: 4.984 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.5305, allocations: 176.4 kB / 0.7197 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.5306, allocations: 24 kB / 0.7197 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007493/0.5314, allocations: 51.95 kB / 0.7197 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/0.5316, allocations: 120.8 kB / 0.7199 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.5317, allocations: 43.97 kB / 0.7199 GB, free: 4.559 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007139/0.5324, allocations: 499 kB / 0.7204 GB, free: 4.078 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5324, allocations: 0 / 0.7204 GB, free: 4.078 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00155/0.534, allocations: 439.5 kB / 0.7208 GB, free: 3.648 MB / 0.545 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 (104): * Single equations (assignments): 96 * 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.0007189/0.5347, allocations: 421.3 kB / 0.7212 GB, free: 3.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003609/0.5383, allocations: 2.016 MB / 0.7232 GB, free: 1.117 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.5383, allocations: 4 kB / 0.7232 GB, free: 1.113 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00261/0.5409, allocations: 1.562 MB / 0.7247 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.5426, allocations: 334.4 kB / 0.725 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/0.5477, allocations: 2.548 MB / 0.7275 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008038/0.5485, allocations: 1.056 MB / 0.7285 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008206/0.5493, allocations: 229.1 kB / 0.7288 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.5496, allocations: 111.4 kB / 0.7289 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of SimCode: time 7.81e-07/0.5496, allocations: 0 / 0.7289 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.04276/0.5924, allocations: 25.12 MB / 0.7534 GB, free: 2.211 MB / 0.5762 GB " [Timeout remaining time 659] 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.565863389521837]