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.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.001345/0.001345, allocations: 109.2 kB / 16.46 MB, free: 6.504 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.001383/0.001383, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.4/1.4, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.8104/0.8104, allocations: 94.6 MB / 397.3 MB, free: 264 kB / 302.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_ThermofluidStream_Topology_Tests_TestJunctionNM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunctionNM,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunctionNM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 81.8 kB / 0.5416 GB, free: 42.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1252, allocations: 71.86 MB / 0.6118 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.758/0.8832, allocations: 363.6 MB / 0.9669 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.05113/0.9344, allocations: 38.85 MB / 1.005 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.9364, allocations: 79.44 kB / 1.005 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005263/0.9417, allocations: 2.076 MB / 1.007 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.02248/0.9642, allocations: 8.815 MB / 1.016 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01098/0.9751, allocations: 4.253 MB / 1.02 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006514/0.9817, allocations: 3.997 MB / 1.024 GB, free: 7.066 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.9831, allocations: 0.8249 MB / 1.024 GB, free: 6.199 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005874/0.989, allocations: 2.632 MB / 1.027 GB, free: 3.559 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003021/0.992, allocations: 1.856 MB / 1.029 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0006345/0.9926, allocations: 244 kB / 1.029 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0307/1.023, allocations: 17.11 MB / 1.046 GB, free: 320 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.3927/1.416, allocations: 0.854 MB / 1.047 GB, free: 17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004221/1.42, allocations: 1.448 MB / 1.048 GB, free: 17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.02756/1.448, allocations: 10.06 MB / 1.058 GB, free: 16.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/1.448, allocations: 3.703 kB / 1.058 GB, free: 16.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.924e-06/1.448, allocations: 0 / 1.058 GB, free: 16.42 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.264e-05/1.448, allocations: 0.9375 kB / 1.058 GB, free: 16.42 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.01328/1.461, allocations: 4.666 MB / 1.062 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/1.461, allocations: 10.59 kB / 1.062 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005028/1.462, allocations: 282.5 kB / 1.063 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009509/1.463, allocations: 308.2 kB / 1.063 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004089/1.467, allocations: 1.686 MB / 1.065 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/1.467, allocations: 142.7 kB / 1.065 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005224/1.467, allocations: 202.7 kB / 1.065 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005201/1.473, allocations: 3.092 MB / 1.068 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.677e-05/1.473, allocations: 2.062 kB / 1.068 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/1.473, allocations: 75.59 kB / 1.068 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002558/1.473, allocations: 185.6 kB / 1.068 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005055/1.478, allocations: 3.387 MB / 1.071 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01711/1.495, allocations: 12.44 MB / 1.084 GB, free: 22.25 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/1.498, allocations: 1.488 MB / 1.085 GB, free: 22.2 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/1.5, allocations: 1.282 MB / 1.086 GB, free: 22.18 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003159/1.503, allocations: 3.845 MB / 1.09 GB, free: 17.96 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/1.503, allocations: 60.86 kB / 1.09 GB, free: 17.92 MB / 0.795 GB Notification: Performance of pre-optimization done (n=196): time 5.962e-06/1.503, allocations: 1.969 kB / 1.09 GB, free: 17.92 MB / 0.795 GB Notification: Performance of matching and sorting (n=200): time 0.01355/1.516, allocations: 8.587 MB / 1.099 GB, free: 15.88 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.539e-05/1.516, allocations: 101 kB / 1.099 GB, free: 15.79 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/1.518, allocations: 1.46 MB / 1.1 GB, free: 15.62 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002378/1.519, allocations: 59.61 kB / 1.1 GB, free: 15.59 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005418/1.519, allocations: 0.9232 MB / 1.101 GB, free: 15.29 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004703/1.52, allocations: 0.7105 MB / 1.102 GB, free: 14.81 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004916/1.52, allocations: 345.2 kB / 1.102 GB, free: 14.8 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.52, allocations: 302.1 kB / 1.102 GB, free: 14.5 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/1.522, allocations: 1.034 MB / 1.103 GB, free: 14.5 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/1.523, allocations: 1.158 MB / 1.104 GB, free: 14.46 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003093/1.526, allocations: 2.344 MB / 1.107 GB, free: 14.43 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.526, allocations: 0.8438 kB / 1.107 GB, free: 14.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.005122/1.531, allocations: 3.066 MB / 1.11 GB, free: 14.21 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/1.531, allocations: 6.781 kB / 1.11 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.531, allocations: 2.969 kB / 1.11 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/1.533, allocations: 479.4 kB / 1.11 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.534, allocations: 338 kB / 1.111 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007325/1.542, allocations: 6.345 MB / 1.117 GB, free: 11.09 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/1.543, allocations: 47.92 kB / 1.117 GB, free: 11.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/1.544, allocations: 121.4 kB / 1.117 GB, free: 11.09 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.0012/1.545, allocations: 0.5217 MB / 1.117 GB, free: 10.97 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006377/1.545, allocations: 212.5 kB / 1.118 GB, free: 10.86 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00669/1.552, allocations: 4.648 MB / 1.122 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.347e-05/1.552, allocations: 21.12 kB / 1.122 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/1.552, allocations: 7.219 kB / 1.122 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/1.552, allocations: 10.08 kB / 1.122 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/1.563, allocations: 6.277 MB / 1.128 GB, free: 9.891 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/1.563, allocations: 4.531 kB / 1.128 GB, free: 9.891 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009909/1.564, allocations: 297.5 kB / 1.129 GB, free: 9.891 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00133/1.565, allocations: 0.5012 MB / 1.129 GB, free: 9.852 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/1.565, allocations: 78.44 kB / 1.129 GB, free: 9.852 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00703/1.572, allocations: 6.35 MB / 1.135 GB, free: 6.766 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.572, allocations: 4.938 kB / 1.135 GB, free: 6.766 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006745/1.579, allocations: 4.797 MB / 1.14 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007863/1.58, allocations: 288.6 kB / 1.14 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003172/1.58, allocations: 43.91 kB / 1.14 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008676/1.581, allocations: 42.55 kB / 1.14 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003037/1.581, allocations: 169.4 kB / 1.141 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/1.581, allocations: 115.1 kB / 1.141 GB, free: 6.035 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001385/1.583, allocations: 1.121 MB / 1.142 GB, free: 5.926 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/1.583, allocations: 1.766 kB / 1.142 GB, free: 5.926 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00486/1.588, allocations: 1.673 MB / 1.143 GB, free: 5.672 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.01105/1.599, allocations: 7.334 MB / 1.151 GB, free: 4.215 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004425/1.603, allocations: 2.978 MB / 1.153 GB, free: 3.879 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.603, allocations: 0 / 1.153 GB, free: 3.879 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002712/1.606, allocations: 1.799 MB / 1.155 GB, free: 3.574 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003652/1.609, allocations: 0.8106 MB / 1.156 GB, free: 3.43 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03341/1.643, allocations: 20.11 MB / 1.176 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/1.644, allocations: 1.764 MB / 1.177 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00289/1.647, allocations: 1.289 MB / 1.179 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/1.649, allocations: 1.055 MB / 1.18 GB, free: 224 kB / 0.8106 GB Notification: Performance of SimCode: time 1.182e-06/1.649, allocations: 4 kB / 1.18 GB, free: 220 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.876/6.525, allocations: 93.47 MB / 1.271 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.82/27.34, allocations: 4.062 kB / 1.271 GB, free: 4.156 MB / 0.9044 GB " [Timeout remaining time 633] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunctionNM_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunctionNM.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 1260.0] 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_2/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: 31.66162570286542]