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.0009286/0.0009286, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009874/0.0009874, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.9603/0.9603, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.8331/0.8331, allocations: 118.7 MB / 378.9 MB, free: 1.359 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 430.9 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.771e-05, allocations: 6.25 kB / 430.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.3724/0.3725, allocations: 154.1 MB / 0.5712 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00791/0.3804, allocations: 4.462 MB / 0.5756 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.3821, allocations: 130.8 kB / 0.5757 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.3833, allocations: 493.7 kB / 0.5762 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.00501/0.3883, allocations: 2.587 MB / 0.5787 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.3904, allocations: 0.9773 MB / 0.5797 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.004485/0.3949, allocations: 4.585 MB / 0.5842 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009186/0.3958, allocations: 0.6666 MB / 0.5848 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004463/0.4002, allocations: 2.641 MB / 0.5874 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002423/0.4027, allocations: 1.632 MB / 0.589 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0006349/0.4033, allocations: 244 kB / 0.5892 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003855/0.4071, allocations: 1.907 MB / 0.5911 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0008125/0.408, allocations: 0.9579 MB / 0.592 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.4096, allocations: 1.083 MB / 0.5931 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.005407/0.415, allocations: 3.671 MB / 0.5967 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.415, allocations: 0 / 0.5967 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.202e-06/0.415, allocations: 0 / 0.5967 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.556e-05/0.4151, allocations: 0 / 0.5967 GB, free: 7.082 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.004962/0.42, allocations: 3.645 MB / 0.6002 GB, free: 3.391 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.4201, allocations: 8.031 kB / 0.6002 GB, free: 3.383 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000914/0.421, allocations: 496 kB / 0.6007 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.423, allocations: 1.572 MB / 0.6022 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.368e-05/0.4231, allocations: 147.8 kB / 0.6024 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.4233, allocations: 203.9 kB / 0.6026 GB, free: 0.8945 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.4249, allocations: 1.608 MB / 0.6041 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/0.4249, allocations: 11.94 kB / 0.6041 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.425, allocations: 79.97 kB / 0.6042 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/0.4252, allocations: 179.9 kB / 0.6044 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.4263, allocations: 0.9382 MB / 0.6053 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006375/0.4327, allocations: 5.419 MB / 0.6106 GB, free: 8.469 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008836/0.4336, allocations: 0.7633 MB / 0.6113 GB, free: 7.688 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004818/0.434, allocations: 449.5 kB / 0.6118 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003404/0.4344, allocations: 150.5 kB / 0.6119 GB, free: 7.098 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.4344, allocations: 64.48 kB / 0.612 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=196): time 4.659e-06/0.4344, allocations: 0 / 0.612 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of matching and sorting (n=200): time 0.004907/0.4393, allocations: 3.215 MB / 0.6151 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.4394, allocations: 99.11 kB / 0.6152 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009485/0.4403, allocations: 1.313 MB / 0.6165 GB, free: 2.289 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.72e-05/0.4404, allocations: 57.7 kB / 0.6165 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.4408, allocations: 0.7368 MB / 0.6173 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003637/0.4411, allocations: 0.7162 MB / 0.618 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/0.4415, allocations: 331.4 kB / 0.6183 GB, free: 432 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.4416, allocations: 305.1 kB / 0.6186 GB, free: 124 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/0.442, allocations: 278.7 kB / 0.6188 GB, free: 15.85 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004768/0.4425, allocations: 440 kB / 0.6193 GB, free: 15.38 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.4435, allocations: 0.9431 MB / 0.6202 GB, free: 14.4 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.4435, allocations: 0.8125 kB / 0.6202 GB, free: 14.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001602/0.4451, allocations: 1.259 MB / 0.6214 GB, free: 13.12 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.4451, allocations: 4 kB / 0.6214 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.4451, allocations: 4 kB / 0.6214 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009544/0.4461, allocations: 432.2 kB / 0.6218 GB, free: 12.69 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007679/0.4469, allocations: 383.5 kB / 0.6222 GB, free: 12.31 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00392/0.4508, allocations: 4.197 MB / 0.6263 GB, free: 7.941 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008423/0.4516, allocations: 47.92 kB / 0.6263 GB, free: 7.895 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/0.4518, allocations: 95.95 kB / 0.6264 GB, free: 7.801 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (182): * Single equations (assignments): 170 * 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.0005528/0.4523, allocations: 212.1 kB / 0.6266 GB, free: 7.586 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/0.4526, allocations: 203.8 kB / 0.6268 GB, free: 7.387 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/0.4556, allocations: 2.652 MB / 0.6294 GB, free: 4.695 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/0.4556, allocations: 20 kB / 0.6294 GB, free: 4.676 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.4557, allocations: 8 kB / 0.6294 GB, free: 4.668 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.4557, allocations: 11.95 kB / 0.6295 GB, free: 4.656 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004351/0.46, allocations: 2.998 MB / 0.6324 GB, free: 1.562 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.46, allocations: 4 kB / 0.6324 GB, free: 1.559 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/0.4606, allocations: 287.6 kB / 0.6327 GB, free: 1.277 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009193/0.4616, allocations: 476.4 kB / 0.6331 GB, free: 0.8086 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.644e-05/0.4617, allocations: 59.95 kB / 0.6332 GB, free: 0.75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003278/0.4649, allocations: 4.217 MB / 0.6373 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4649, allocations: 4 kB / 0.6373 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.4674, allocations: 1.879 MB / 0.6391 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005419/0.4679, allocations: 298.4 kB / 0.6394 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.4681, allocations: 51.92 kB / 0.6395 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.4686, allocations: 36 kB / 0.6395 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.4688, allocations: 153.7 kB / 0.6396 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.4689, allocations: 71.94 kB / 0.6397 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005914/0.4695, allocations: 0.7638 MB / 0.6405 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4695, allocations: 0 / 0.6405 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001602/0.4711, allocations: 0.8198 MB / 0.6413 GB, free: 8.223 MB / 0.5886 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 (146): * Single equations (assignments): 134 * 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.0006292/0.4717, allocations: 390.2 kB / 0.6416 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001818/0.4735, allocations: 1.495 MB / 0.6431 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/0.4735, allocations: 20.62 kB / 0.6431 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.4747, allocations: 1.087 MB / 0.6442 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/0.4773, allocations: 1.083 MB / 0.6452 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005303/0.4826, allocations: 4.262 MB / 0.6494 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.483, allocations: 0.5146 MB / 0.6499 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00153/0.4846, allocations: 0.8906 MB / 0.6508 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/0.486, allocations: 0.7605 MB / 0.6515 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of SimCode: time 1.352e-06/0.486, allocations: 0 / 0.6515 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of Templates: time 0.3238/0.8098, allocations: 56.87 MB / 0.707 GB, free: 68.39 MB / 0.6042 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunctionNM_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.402770579792559]