Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.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.001336/0.001336, allocations: 77.78 kB / 19.76 MB, free: 2.031 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.001458/0.001458, allocations: 162.4 kB / 23.01 MB, free: 4.945 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.387/1.387, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7162/0.7162, allocations: 74.91 MB / 334.7 MB, free: 15.53 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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.Topology.Tests.TestJunctionNM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionNM.splitterN.inlet.m_flow|junctionNM1.splitterN.inlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM") translateModel(ThermofluidStream.Topology.Tests.TestJunctionNM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionNM.splitterN.inlet.m_flow|junctionNM1.splitterN.inlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM") [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.003161/0.003161, allocations: 88 kB / 496.4 MB, free: 29.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1117, allocations: 73.03 MB / 0.5561 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.6523/0.7641, allocations: 319.4 MB / 0.868 GB, free: 1.66 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.05048/0.8145, allocations: 34.99 MB / 0.9021 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.8167, allocations: 107 kB / 0.9022 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004878/0.8216, allocations: 1.733 MB / 0.9039 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02359/0.8452, allocations: 8.716 MB / 0.9124 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01255/0.8577, allocations: 4.29 MB / 0.9166 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007702/0.8654, allocations: 4.028 MB / 0.9206 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.8672, allocations: 0.6256 MB / 0.9212 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006294/0.8735, allocations: 2.717 MB / 0.9238 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003282/0.8767, allocations: 1.754 MB / 0.9255 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0007407/0.8775, allocations: 244 kB / 0.9258 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02849/0.906, allocations: 13.62 MB / 0.9391 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001501/0.9075, allocations: 0.8721 MB / 0.9399 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.9095, allocations: 1.186 MB / 0.9411 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.02376/0.9332, allocations: 9.651 MB / 0.9505 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.749e-06/0.9332, allocations: 11.98 kB / 0.9505 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9332, allocations: 4 kB / 0.9505 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.147e-05/0.9333, allocations: 0 / 0.9505 GB, free: 12.81 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 506 * Number of variables: 506 Notification: Performance of Generate backend data structure: time 0.01087/0.9442, allocations: 4.569 MB / 0.955 GB, free: 8.18 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.9442, allocations: 12.03 kB / 0.955 GB, free: 8.168 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.9457, allocations: 370 kB / 0.9553 GB, free: 7.805 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003172/0.9488, allocations: 1.577 MB / 0.9569 GB, free: 6.184 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.949, allocations: 143.7 kB / 0.957 GB, free: 6.043 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003335/0.9493, allocations: 203.9 kB / 0.9572 GB, free: 5.844 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005257/0.9546, allocations: 3.132 MB / 0.9603 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/0.9546, allocations: 0 / 0.9603 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.9548, allocations: 79.97 kB / 0.9603 GB, free: 2.605 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002589/0.955, allocations: 187.9 kB / 0.9605 GB, free: 2.422 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005276/0.9603, allocations: 3.432 MB / 0.9639 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0128/0.9731, allocations: 6.715 MB / 0.9704 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/0.9758, allocations: 1.493 MB / 0.9719 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001947/0.9778, allocations: 1.272 MB / 0.9731 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/0.979, allocations: 497.5 kB / 0.9736 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.9791, allocations: 56.56 kB / 0.9737 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=196): time 4.809e-06/0.9791, allocations: 0 / 0.9737 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of matching and sorting (n=200): time 0.0146/0.9937, allocations: 7.794 MB / 0.9813 GB, free: 13.02 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.9937, allocations: 95.11 kB / 0.9814 GB, free: 12.9 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.9955, allocations: 1.296 MB / 0.9826 GB, free: 11.6 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.9957, allocations: 65.69 kB / 0.9827 GB, free: 11.53 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007625/0.9965, allocations: 0.9348 MB / 0.9836 GB, free: 10.58 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006318/0.9971, allocations: 0.7009 MB / 0.9843 GB, free: 9.875 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005781/0.9977, allocations: 339.5 kB / 0.9846 GB, free: 9.539 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.9978, allocations: 309.1 kB / 0.9849 GB, free: 9.234 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.9995, allocations: 1.027 MB / 0.9859 GB, free: 8.207 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/1.001, allocations: 1.155 MB / 0.987 GB, free: 7.047 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003765/1.005, allocations: 2.348 MB / 0.9893 GB, free: 4.691 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/1.005, allocations: 0 / 0.9893 GB, free: 4.691 MB / 0.795 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.005452/1.011, allocations: 3.039 MB / 0.9923 GB, free: 1.637 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/1.011, allocations: 4 kB / 0.9923 GB, free: 1.633 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.011, allocations: 0 / 0.9923 GB, free: 1.633 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/1.012, allocations: 475.8 kB / 0.9928 GB, free: 1.164 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/1.013, allocations: 331.5 kB / 0.9931 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008358/1.022, allocations: 6.004 MB / 0.9989 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/1.023, allocations: 44.05 kB / 0.999 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/1.023, allocations: 127.8 kB / 0.9991 GB, free: 10.48 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (172): * Single equations (assignments): 160 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001033/1.024, allocations: 0.5169 MB / 0.9996 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004895/1.025, allocations: 202.7 kB / 0.9998 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00791/1.033, allocations: 4.533 MB / 1.004 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.656e-05/1.033, allocations: 24 kB / 1.004 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/1.033, allocations: 4 kB / 1.004 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.593e-05/1.033, allocations: 15.95 kB / 1.004 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2786/1.311, allocations: 5.499 MB / 1.01 GB, free: 345.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/1.311, allocations: 2.469 kB / 1.01 GB, free: 345.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/1.313, allocations: 289.7 kB / 1.01 GB, free: 345.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/1.314, allocations: 488.5 kB / 1.01 GB, free: 345.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002209/1.314, allocations: 75.28 kB / 1.01 GB, free: 345.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006408/1.321, allocations: 6.006 MB / 1.016 GB, free: 342.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.321, allocations: 7 kB / 1.016 GB, free: 342.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006996/1.328, allocations: 4.708 MB / 1.021 GB, free: 340.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005346/1.328, allocations: 180.7 kB / 1.021 GB, free: 340.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/1.329, allocations: 44.14 kB / 1.021 GB, free: 340.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009324/1.33, allocations: 51.11 kB / 1.021 GB, free: 340.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004198/1.33, allocations: 170.6 kB / 1.021 GB, free: 340.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002503/1.33, allocations: 103 kB / 1.021 GB, free: 340.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001447/1.332, allocations: 1.003 MB / 1.022 GB, free: 339.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/1.332, allocations: 0 / 1.022 GB, free: 339.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004973/1.337, allocations: 1.598 MB / 1.024 GB, free: 339.6 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (junctionNM1.junctionN.outlet.m_flow,flowResistance6.inlet.m_flow,flowResistance8.inlet.m_flow,flowResistance9.inlet.m_flow,junctionNM.junctionN.outlet.m_flow,flowResistance1.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance4.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 (150): * Single equations (assignments): 138 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003991/1.341, allocations: 1.918 MB / 1.026 GB, free: 339.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004482/1.345, allocations: 2.957 MB / 1.029 GB, free: 338.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.345, allocations: 0 / 1.029 GB, free: 338.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00255/1.348, allocations: 1.775 MB / 1.03 GB, free: 337.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/1.351, allocations: 0.7205 MB / 1.031 GB, free: 337.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006974/1.358, allocations: 5.038 MB / 1.036 GB, free: 335 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/1.359, allocations: 1.191 MB / 1.037 GB, free: 334.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002161/1.361, allocations: 1.26 MB / 1.039 GB, free: 334.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006097/1.361, allocations: 212.9 kB / 1.039 GB, free: 334.5 MB / 0.8106 GB Notification: Performance of SimCode: time 1.062e-06/1.361, allocations: 0 / 1.039 GB, free: 334.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.07764/1.439, allocations: 68.14 MB / 1.105 GB, free: 270 MB / 0.8106 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunctionNM_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.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: 9.298755885101855]