Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.6 MB / 249.9 MB, free: 3.23 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5882/0.5882, allocations: 94.59 MB / 399.6 MB, free: 15.84 MB / 334.1 MB [Timeout remaining time 89] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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_dev_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_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 79.88 kB / 0.5452 GB, free: 12.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3581, allocations: 71.84 MB / 0.6154 GB, free: 4.121 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.04136/0.3995, allocations: 41.37 MB / 0.6558 GB, free: 5.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008182/0.4076, allocations: 5.356 MB / 0.661 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.4089, allocations: 43.88 kB / 0.661 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.4103, allocations: 0.5447 MB / 0.6616 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003532/0.4139, allocations: 1.386 MB / 0.6629 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.4161, allocations: 0.8863 MB / 0.6638 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00357/0.4197, allocations: 2.146 MB / 0.6659 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004354/0.4201, allocations: 166.4 kB / 0.666 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/0.4232, allocations: 1.325 MB / 0.6673 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.4244, allocations: 0.794 MB / 0.6681 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.4246, allocations: 103.5 kB / 0.6682 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.4267, allocations: 0.7599 MB / 0.669 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.427, allocations: 267.8 kB / 0.6692 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007608/0.4278, allocations: 0.6557 MB / 0.6698 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.431, allocations: 1.866 MB / 0.6717 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.431, allocations: 0 / 0.6717 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.431, allocations: 1.156 kB / 0.6717 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.743e-05/0.431, allocations: 0 / 0.6717 GB, free: 9.91 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.003352/0.4343, allocations: 1.699 MB / 0.6733 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4344, allocations: 9.5 kB / 0.6733 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004278/0.4348, allocations: 159.5 kB / 0.6735 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.4364, allocations: 0.881 MB / 0.6744 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.39e-05/0.4365, allocations: 75.78 kB / 0.6744 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.4366, allocations: 102 kB / 0.6745 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.4384, allocations: 1.07 MB / 0.6756 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.4385, allocations: 1.094 kB / 0.6756 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.915e-05/0.4385, allocations: 42.03 kB / 0.6756 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.4386, allocations: 21.56 kB / 0.6756 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.4404, allocations: 1.012 MB / 0.6766 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005932/0.4463, allocations: 4.752 MB / 0.6813 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.448, allocations: 0.8671 MB / 0.6821 GB, free: 44 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008149/0.4489, allocations: 455.8 kB / 0.6825 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004677/0.4535, allocations: 3.476 MB / 0.6859 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.4536, allocations: 47.08 kB / 0.686 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=108): time 2.505e-06/0.4536, allocations: 0 / 0.686 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=122): time 0.01043/0.464, allocations: 4.465 MB / 0.6903 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.4641, allocations: 90.2 kB / 0.6904 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009748/0.465, allocations: 0.7601 MB / 0.6912 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-05/0.4651, allocations: 45.7 kB / 0.6912 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.4655, allocations: 493.4 kB / 0.6917 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/0.4659, allocations: 448.1 kB / 0.6921 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/0.4662, allocations: 198.9 kB / 0.6923 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4663, allocations: 353.9 kB / 0.6926 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008931/0.4672, allocations: 410.4 kB / 0.693 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.4682, allocations: 0.5701 MB / 0.6936 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.4702, allocations: 1.04 MB / 0.6946 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4702, allocations: 0 / 0.6946 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003308/0.4735, allocations: 1.496 MB / 0.6961 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.4735, allocations: 11.98 kB / 0.6961 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.4735, allocations: 4 kB / 0.6961 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.4746, allocations: 307 kB / 0.6964 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/0.4755, allocations: 235.7 kB / 0.6966 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.4856, allocations: 12.13 MB / 0.7084 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.4867, allocations: 43.97 kB / 0.7085 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.4869, allocations: 55.97 kB / 0.7085 GB, free: 2.992 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.0005133/0.4874, allocations: 272.5 kB / 0.7088 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/0.4876, allocations: 123.2 kB / 0.7089 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003911/0.4915, allocations: 1.856 MB / 0.7107 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.4915, allocations: 12 kB / 0.7107 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.4916, allocations: 11.94 kB / 0.7107 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.4916, allocations: 11.91 kB / 0.7108 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00535/0.4969, allocations: 2.871 MB / 0.7136 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.4969, allocations: 0 / 0.7136 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009087/0.4978, allocations: 215.9 kB / 0.7138 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.4989, allocations: 314.5 kB / 0.7141 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.595e-05/0.499, allocations: 35.92 kB / 0.7141 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/0.5091, allocations: 12.17 MB / 0.726 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5091, allocations: 0 / 0.726 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00457/0.5136, allocations: 2.18 MB / 0.7281 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.514, allocations: 184.3 kB / 0.7283 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.5142, allocations: 27.94 kB / 0.7283 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007663/0.5149, allocations: 59.95 kB / 0.7284 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/0.5152, allocations: 108.9 kB / 0.7285 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.383e-05/0.5153, allocations: 43.97 kB / 0.7285 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007683/0.5161, allocations: 0.5672 MB / 0.7291 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.5161, allocations: 0 / 0.7291 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001509/0.5176, allocations: 439.5 kB / 0.7295 GB, free: 12.15 MB / 0.5606 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.0006875/0.5183, allocations: 431.8 kB / 0.7299 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003514/0.5218, allocations: 2.02 MB / 0.7319 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.5218, allocations: 0 / 0.7319 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002492/0.5243, allocations: 1.558 MB / 0.7334 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.526, allocations: 354.4 kB / 0.7337 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005067/0.5311, allocations: 2.732 MB / 0.7364 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007628/0.5319, allocations: 1.107 MB / 0.7375 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.5322, allocations: 135.4 kB / 0.7376 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/0.5322, allocations: 0 / 0.7376 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of Templates: time 0.0595/0.5917, allocations: 55.88 MB / 0.7922 GB, free: 11.66 MB / 0.6231 GB [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches