Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.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.001213/0.001213, allocations: 109.6 kB / 17.96 MB, free: 4.039 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.001248/0.001248, allocations: 201.4 kB / 21.22 MB, free: 0.793 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.418/1.418, allocations: 225.6 MB / 249.9 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7409/0.7409, allocations: 94.59 MB / 399.7 MB, free: 15.78 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-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: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunctionNM,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunctionNM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunctionNM,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunctionNM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 87.02 kB / 0.5453 GB, free: 43.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1094, allocations: 71.86 MB / 0.6154 GB, free: 9.039 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.7002/0.8096, allocations: 365.2 MB / 0.972 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05134/0.8609, allocations: 39.08 MB / 1.01 GB, free: 7.289 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.863, allocations: 75.5 kB / 1.01 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005234/0.8682, allocations: 2.068 MB / 1.012 GB, free: 5.137 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.02297/0.8912, allocations: 8.826 MB / 1.021 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01175/0.903, allocations: 4.266 MB / 1.025 GB, free: 8 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006124/0.9091, allocations: 4.005 MB / 1.029 GB, free: 3.98 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.9106, allocations: 0.6413 MB / 1.03 GB, free: 3.297 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005918/0.9165, allocations: 2.624 MB / 1.032 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00323/0.9197, allocations: 1.864 MB / 1.034 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0008395/0.9206, allocations: 240 kB / 1.034 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4515/1.372, allocations: 17.11 MB / 1.051 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001441/1.373, allocations: 0.8638 MB / 1.052 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002633/1.376, allocations: 1.444 MB / 1.053 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.02692/1.403, allocations: 10.06 MB / 1.063 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.403, allocations: 0 / 1.063 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.533e-06/1.403, allocations: 0.8438 kB / 1.063 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.791e-05/1.403, allocations: 0 / 1.063 GB, free: 15.32 MB / 0.7794 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.0127/1.416, allocations: 4.665 MB / 1.068 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/1.416, allocations: 9.562 kB / 1.068 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004519/1.416, allocations: 282.2 kB / 1.068 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007974/1.417, allocations: 310 kB / 1.068 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/1.42, allocations: 1.687 MB / 1.07 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/1.42, allocations: 141.4 kB / 1.07 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003522/1.421, allocations: 203.2 kB / 1.07 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004721/1.426, allocations: 3.094 MB / 1.073 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.141e-05/1.426, allocations: 2.062 kB / 1.073 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/1.426, allocations: 78.23 kB / 1.073 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002013/1.426, allocations: 186.7 kB / 1.073 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004186/1.43, allocations: 3.385 MB / 1.077 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/1.443, allocations: 12.44 MB / 1.089 GB, free: 21.15 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/1.445, allocations: 1.486 MB / 1.09 GB, free: 21.11 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/1.447, allocations: 1.281 MB / 1.092 GB, free: 21.08 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00303/1.45, allocations: 3.854 MB / 1.095 GB, free: 16.86 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/1.45, allocations: 49.94 kB / 1.095 GB, free: 16.82 MB / 0.795 GB Notification: Performance of pre-optimization done (n=196): time 4.558e-06/1.45, allocations: 0.625 kB / 1.095 GB, free: 16.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=200): time 0.01294/1.463, allocations: 8.586 MB / 1.104 GB, free: 14.78 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/1.463, allocations: 98.73 kB / 1.104 GB, free: 14.69 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/1.465, allocations: 1.464 MB / 1.105 GB, free: 14.53 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000193/1.465, allocations: 56.27 kB / 1.105 GB, free: 14.5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/1.465, allocations: 0.9262 MB / 1.106 GB, free: 14.19 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004033/1.466, allocations: 0.7144 MB / 1.107 GB, free: 13.71 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004857/1.466, allocations: 342.7 kB / 1.107 GB, free: 13.7 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.466, allocations: 301.1 kB / 1.108 GB, free: 13.4 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/1.468, allocations: 1.033 MB / 1.109 GB, free: 13.4 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/1.469, allocations: 1.156 MB / 1.11 GB, free: 13.36 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003026/1.472, allocations: 2.35 MB / 1.112 GB, free: 13.33 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.472, allocations: 2.344 kB / 1.112 GB, free: 13.33 MB / 0.795 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.004718/1.477, allocations: 3.075 MB / 1.115 GB, free: 13.11 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.477, allocations: 3.562 kB / 1.115 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.477, allocations: 1.031 kB / 1.115 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/1.478, allocations: 477.3 kB / 1.115 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/1.479, allocations: 337.6 kB / 1.116 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007021/1.486, allocations: 6.34 MB / 1.122 GB, free: 9.996 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/1.488, allocations: 50.73 kB / 1.122 GB, free: 9.996 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002654/1.488, allocations: 115.6 kB / 1.122 GB, free: 9.996 MB / 0.795 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.001049/1.489, allocations: 0.5281 MB / 1.123 GB, free: 9.875 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005258/1.49, allocations: 211.9 kB / 1.123 GB, free: 9.762 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006467/1.496, allocations: 4.639 MB / 1.127 GB, free: 9.355 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-05/1.496, allocations: 19.84 kB / 1.127 GB, free: 9.355 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/1.496, allocations: 6.125 kB / 1.127 GB, free: 9.355 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/1.496, allocations: 12.42 kB / 1.127 GB, free: 9.355 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009487/1.506, allocations: 6.277 MB / 1.134 GB, free: 8.793 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/1.506, allocations: 3.125 kB / 1.134 GB, free: 8.793 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/1.507, allocations: 304 kB / 1.134 GB, free: 8.789 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/1.508, allocations: 0.4917 MB / 1.134 GB, free: 8.754 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/1.508, allocations: 81.45 kB / 1.134 GB, free: 8.754 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007034/1.515, allocations: 6.356 MB / 1.141 GB, free: 5.664 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.515, allocations: 5 kB / 1.141 GB, free: 5.664 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006521/1.522, allocations: 4.796 MB / 1.145 GB, free: 5.16 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006709/1.522, allocations: 281.7 kB / 1.146 GB, free: 4.945 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003544/1.523, allocations: 44.61 kB / 1.146 GB, free: 4.945 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009178/1.524, allocations: 43.77 kB / 1.146 GB, free: 4.945 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/1.524, allocations: 171.5 kB / 1.146 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/1.524, allocations: 110.9 kB / 1.146 GB, free: 4.938 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001309/1.526, allocations: 1.126 MB / 1.147 GB, free: 4.828 MB / 0.795 GB Notification: Performance of sort global known variables: time 8e-08/1.526, allocations: 0 / 1.147 GB, free: 4.828 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004587/1.53, allocations: 1.669 MB / 1.149 GB, free: 4.574 MB / 0.795 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 (160): * Single equations (assignments): 148 * 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.01054/1.541, allocations: 7.354 MB / 1.156 GB, free: 3.125 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004303/1.545, allocations: 2.97 MB / 1.159 GB, free: 2.797 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.545, allocations: 0 / 1.159 GB, free: 2.797 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00258/1.548, allocations: 1.8 MB / 1.16 GB, free: 2.422 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/1.551, allocations: 0.8064 MB / 1.161 GB, free: 1.938 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03385/1.585, allocations: 20.12 MB / 1.181 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/1.586, allocations: 1.77 MB / 1.183 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002841/1.589, allocations: 1.29 MB / 1.184 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00161/1.591, allocations: 1.057 MB / 1.185 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of SimCode: time 1.002e-06/1.591, allocations: 0 / 1.185 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1705/1.761, allocations: 93.77 MB / 1.276 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.54/18.3, allocations: 14.2 kB / 1.277 GB, free: 0.8555 MB / 0.9044 GB " [Timeout remaining time 642] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunctionNM_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunctionNM.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunctionNM_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 22.135977949015796]