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.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.00157/0.00157, allocations: 78.48 kB / 19.75 MB, free: 2.055 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.001709/0.001709, allocations: 154.7 kB / 23 MB, free: 4.953 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.376/1.376, allocations: 177.2 MB / 203.4 MB, free: 9.273 MB / 190.1 MB " [Timeout remaining time 179] 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 0.7212/0.7212, allocations: 79.6 MB / 339.4 MB, free: 11.54 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002592/0.002592, allocations: 84.47 kB / 0.4924 GB, free: 26.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1091, allocations: 74.58 MB / 0.5652 GB, free: 6.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.04464/0.1538, allocations: 37.44 MB / 0.6018 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007835/0.1616, allocations: 4.961 MB / 0.6066 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.1626, allocations: 59.5 kB / 0.6067 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.164, allocations: 0.4926 MB / 0.6071 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.1676, allocations: 1.375 MB / 0.6085 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002357/0.1699, allocations: 0.8908 MB / 0.6094 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002806/0.1727, allocations: 2.163 MB / 0.6115 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000398/0.1731, allocations: 157.4 kB / 0.6116 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003559/0.1767, allocations: 1.732 MB / 0.6133 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.1779, allocations: 0.727 MB / 0.614 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002409/0.1781, allocations: 100 kB / 0.6141 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.1798, allocations: 0.6788 MB / 0.6148 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003546/0.1802, allocations: 274.7 kB / 0.615 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000756/0.181, allocations: 0.5364 MB / 0.6156 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002902/0.1839, allocations: 1.848 MB / 0.6174 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1839, allocations: 3.984 kB / 0.6174 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1839, allocations: 0 / 0.6174 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.821e-05/0.1839, allocations: 0 / 0.6174 GB, free: 0.5312 MB / 0.5137 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.003554/0.1875, allocations: 1.624 MB / 0.619 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1875, allocations: 13.47 kB / 0.619 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006777/0.1882, allocations: 184 kB / 0.6191 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.1898, allocations: 0.7886 MB / 0.6199 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.564e-05/0.1899, allocations: 74.12 kB / 0.62 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.1901, allocations: 96 kB / 0.6201 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.1922, allocations: 1.321 MB / 0.6214 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.1922, allocations: 0 / 0.6214 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.309e-05/0.1923, allocations: 40 kB / 0.6214 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.1923, allocations: 27.98 kB / 0.6214 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.1942, allocations: 1.008 MB / 0.6224 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005418/0.1996, allocations: 2.914 MB / 0.6253 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.2016, allocations: 0.8618 MB / 0.6261 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008687/0.2024, allocations: 440.9 kB / 0.6265 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003092/0.2055, allocations: 1.334 MB / 0.6278 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.2056, allocations: 43.22 kB / 0.6279 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=108): time 2.896e-06/0.2056, allocations: 0 / 0.6279 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122): time 0.01092/0.2165, allocations: 4.032 MB / 0.6318 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.2166, allocations: 94.27 kB / 0.6319 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009182/0.2175, allocations: 0.6966 MB / 0.6326 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.345e-05/0.2176, allocations: 45.7 kB / 0.6326 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003909/0.218, allocations: 493.3 kB / 0.6331 GB, free: 24 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004167/0.2184, allocations: 440.4 kB / 0.6335 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000342/0.2187, allocations: 202.8 kB / 0.6337 GB, free: 15.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.2189, allocations: 349.7 kB / 0.634 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00095/0.2198, allocations: 402.4 kB / 0.6344 GB, free: 14.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.2209, allocations: 0.5746 MB / 0.635 GB, free: 14.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/0.2231, allocations: 1.058 MB / 0.636 GB, free: 12.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.2231, allocations: 4 kB / 0.636 GB, free: 12.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003491/0.2266, allocations: 1.471 MB / 0.6375 GB, free: 11.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.2266, allocations: 8.469 kB / 0.6375 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.2266, allocations: 8 kB / 0.6375 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.2277, allocations: 306.6 kB / 0.6378 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009668/0.2287, allocations: 231.7 kB / 0.638 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.2391, allocations: 11.09 MB / 0.6488 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008558/0.24, allocations: 55.95 kB / 0.6489 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.2401, allocations: 47.98 kB / 0.6489 GB, free: 14.82 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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.0005233/0.2406, allocations: 253.7 kB / 0.6491 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/0.2409, allocations: 119.2 kB / 0.6493 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00408/0.245, allocations: 1.79 MB / 0.651 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.245, allocations: 12 kB / 0.651 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.245, allocations: 4 kB / 0.651 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.245, allocations: 7.969 kB / 0.651 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005169/0.2502, allocations: 2.455 MB / 0.6534 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.2502, allocations: 4 kB / 0.6534 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009149/0.2511, allocations: 203.9 kB / 0.6536 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.2522, allocations: 330.7 kB / 0.6539 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.539e-05/0.2523, allocations: 31.98 kB / 0.654 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/0.2627, allocations: 11.11 MB / 0.6648 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2627, allocations: 0 / 0.6648 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00459/0.2673, allocations: 2.106 MB / 0.6669 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.2675, allocations: 103.2 kB / 0.667 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.2677, allocations: 27.94 kB / 0.667 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007649/0.2685, allocations: 51.95 kB / 0.6671 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/0.2687, allocations: 108.9 kB / 0.6672 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.2688, allocations: 51.97 kB / 0.6672 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007279/0.2695, allocations: 0.5068 MB / 0.6677 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2695, allocations: 0 / 0.6677 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001449/0.271, allocations: 403.7 kB / 0.6681 GB, free: 10.15 MB / 0.5762 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.000643/0.2716, allocations: 381.3 kB / 0.6685 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003715/0.2754, allocations: 1.977 MB / 0.6704 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2754, allocations: 0 / 0.6704 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002639/0.278, allocations: 1.547 MB / 0.6719 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.2795, allocations: 304.6 kB / 0.6722 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005163/0.2847, allocations: 2.634 MB / 0.6748 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/0.2853, allocations: 0.4972 MB / 0.6752 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007848/0.2861, allocations: 220.4 kB / 0.6755 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.2864, allocations: 104.5 kB / 0.6755 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.2864, allocations: 4 kB / 0.6756 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of Templates: time 0.2608/0.5472, allocations: 23.13 MB / 0.6981 GB, free: 120.7 MB / 0.5919 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 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -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 [Calling sys.exit(0), Time elapsed: 6.295695153065026]