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.001504/0.001504, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001547/0.001547, allocations: 221.9 kB / 23.01 MB, free: 4.609 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.7075/0.7075, allocations: 94.57 MB / 407.7 MB, free: 9.199 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.002349/0.002349, allocations: 85.61 kB / 0.5562 GB, free: 38.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1121, allocations: 73.05 MB / 0.6275 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.645/0.7571, allocations: 365.3 MB / 0.9843 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.04958/0.8067, allocations: 39.09 MB / 1.022 GB, free: 9.902 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.8093, allocations: 107.1 kB / 1.023 GB, free: 9.797 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.005577/0.8149, allocations: 2.076 MB / 1.025 GB, free: 7.711 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.0236/0.8385, allocations: 8.839 MB / 1.033 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01208/0.8506, allocations: 4.355 MB / 1.037 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006366/0.8569, allocations: 4.028 MB / 1.041 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.8584, allocations: 0.6451 MB / 1.042 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006035/0.8644, allocations: 2.714 MB / 1.045 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003165/0.8676, allocations: 1.864 MB / 1.047 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0007952/0.8683, allocations: 248 kB / 1.047 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4059/1.274, allocations: 17.36 MB / 1.064 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001288/1.276, allocations: 0.8708 MB / 1.065 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002723/1.278, allocations: 1.444 MB / 1.066 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.02218/1.3, allocations: 10.09 MB / 1.076 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.3, allocations: 0 / 1.076 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.273e-06/1.3, allocations: 0 / 1.076 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001316/1.301, allocations: 2.625 kB / 1.076 GB, free: 9.59 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.01107/1.312, allocations: 4.596 MB / 1.08 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/1.312, allocations: 10.75 kB / 1.08 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005284/1.312, allocations: 308.6 kB / 1.081 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/1.315, allocations: 1.582 MB / 1.082 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.422e-05/1.315, allocations: 142.6 kB / 1.082 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/1.315, allocations: 200.3 kB / 1.083 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/1.319, allocations: 3.13 MB / 1.086 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.953e-05/1.319, allocations: 4.375 kB / 1.086 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/1.319, allocations: 76.66 kB / 1.086 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/1.319, allocations: 185.4 kB / 1.086 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003531/1.323, allocations: 3.458 MB / 1.089 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/1.335, allocations: 12.4 MB / 1.101 GB, free: 15.61 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/1.336, allocations: 1.499 MB / 1.103 GB, free: 15.56 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/1.338, allocations: 1.28 MB / 1.104 GB, free: 15.54 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/1.339, allocations: 0.4952 MB / 1.104 GB, free: 15.54 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/1.339, allocations: 52.88 kB / 1.105 GB, free: 15.5 MB / 0.795 GB Notification: Performance of pre-optimization done (n=196): time 3.907e-06/1.339, allocations: 3.844 kB / 1.105 GB, free: 15.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=200): time 0.01117/1.35, allocations: 7.83 MB / 1.112 GB, free: 14.4 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/1.35, allocations: 98.2 kB / 1.112 GB, free: 14.3 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/1.352, allocations: 1.46 MB / 1.114 GB, free: 14.14 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/1.352, allocations: 62.53 kB / 1.114 GB, free: 14.11 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004353/1.352, allocations: 0.9224 MB / 1.115 GB, free: 13.8 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/1.353, allocations: 0.7126 MB / 1.115 GB, free: 13.33 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004467/1.353, allocations: 343.5 kB / 1.116 GB, free: 13.32 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.353, allocations: 301.1 kB / 1.116 GB, free: 13.02 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/1.354, allocations: 1.034 MB / 1.117 GB, free: 13.02 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/1.356, allocations: 1.156 MB / 1.118 GB, free: 12.98 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002711/1.358, allocations: 2.35 MB / 1.12 GB, free: 12.95 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.358, allocations: 0 / 1.12 GB, free: 12.95 MB / 0.795 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.004165/1.363, allocations: 3.064 MB / 1.123 GB, free: 12.73 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.363, allocations: 4.844 kB / 1.123 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.363, allocations: 2.75 kB / 1.123 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/1.364, allocations: 483.7 kB / 1.124 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.365, allocations: 336 kB / 1.124 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00652/1.371, allocations: 6.135 MB / 1.13 GB, free: 9.871 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009692/1.372, allocations: 47.09 kB / 1.13 GB, free: 9.871 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/1.373, allocations: 121 kB / 1.13 GB, free: 9.871 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.0009055/1.373, allocations: 0.5245 MB / 1.131 GB, free: 9.75 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003605/1.374, allocations: 217.8 kB / 1.131 GB, free: 9.633 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005945/1.38, allocations: 4.634 MB / 1.136 GB, free: 9.23 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.494e-05/1.38, allocations: 21.31 kB / 1.136 GB, free: 9.23 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/1.38, allocations: 11.3 kB / 1.136 GB, free: 9.227 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/1.38, allocations: 11.95 kB / 1.136 GB, free: 9.227 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008416/1.388, allocations: 6.254 MB / 1.142 GB, free: 8.695 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/1.388, allocations: 3.812 kB / 1.142 GB, free: 8.695 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009397/1.389, allocations: 306.1 kB / 1.142 GB, free: 8.695 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/1.39, allocations: 0.4898 MB / 1.143 GB, free: 8.664 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/1.391, allocations: 82.7 kB / 1.143 GB, free: 8.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007162/1.398, allocations: 6.157 MB / 1.149 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.398, allocations: 3.938 kB / 1.149 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007113/1.405, allocations: 4.799 MB / 1.153 GB, free: 3.906 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005242/1.405, allocations: 208.8 kB / 1.154 GB, free: 3.73 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/1.406, allocations: 43.22 kB / 1.154 GB, free: 3.719 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000833/1.407, allocations: 45.06 kB / 1.154 GB, free: 3.707 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/1.407, allocations: 178.9 kB / 1.154 GB, free: 3.637 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/1.407, allocations: 109.1 kB / 1.154 GB, free: 3.566 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001405/1.408, allocations: 1.125 MB / 1.155 GB, free: 2.938 MB / 0.795 GB Notification: Performance of sort global known variables: time 8e-08/1.408, allocations: 0 / 1.155 GB, free: 2.938 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004332/1.413, allocations: 1.68 MB / 1.157 GB, free: 1.512 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.003718/1.417, allocations: 2.004 MB / 1.159 GB, free: 76 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005489/1.422, allocations: 3.058 MB / 1.162 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.422, allocations: 0.7812 kB / 1.162 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00299/1.425, allocations: 1.796 MB / 1.163 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003591/1.429, allocations: 0.8211 MB / 1.164 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008809/1.437, allocations: 5.193 MB / 1.169 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/1.439, allocations: 1.766 MB / 1.171 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/1.44, allocations: 273.6 kB / 1.171 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of SimCode: time 1.002e-06/1.44, allocations: 0 / 1.171 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of Templates: time 0.09857/1.539, allocations: 78.04 MB / 1.247 GB, free: 6.988 MB / 0.8888 GB " [Timeout remaining time 658] 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 -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: 17.277157047064975]