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.00238/0.00238, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002823/0.002823, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.568/1.568, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.016/1.016, allocations: 118.6 MB / 378.2 MB, free: 1.488 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.963e-06/1.963e-06, allocations: 0 / 482.9 MB, free: 8.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.619e-05, allocations: 2.312 kB / 482.9 MB, free: 8.262 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.8443/0.8443, allocations: 382.3 MB / 0.8449 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03195/0.8762, allocations: 18.33 MB / 0.8628 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003204/0.8794, allocations: 130.8 kB / 0.8629 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00613/0.8856, allocations: 1.801 MB / 0.8646 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.02885/0.9144, allocations: 9.128 MB / 0.8736 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01421/0.9286, allocations: 4.454 MB / 0.8779 GB, free: 3.012 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00773/0.9363, allocations: 4.612 MB / 0.8824 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.9378, allocations: 0.6428 MB / 0.883 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0095/0.9473, allocations: 3.502 MB / 0.8865 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003883/0.9512, allocations: 1.683 MB / 0.8881 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007821/0.952, allocations: 248 kB / 0.8883 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03262/0.9846, allocations: 13.74 MB / 0.9018 GB, free: 10.48 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002058/0.9867, allocations: 0.9657 MB / 0.9027 GB, free: 9.508 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00299/0.9897, allocations: 1.087 MB / 0.9038 GB, free: 8.418 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.5094/1.499, allocations: 10.92 MB / 0.9144 GB, free: 24.72 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/1.499, allocations: 0 / 0.9144 GB, free: 24.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/1.499, allocations: 0.75 kB / 0.9144 GB, free: 24.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.692e-05/1.499, allocations: 0 / 0.9144 GB, free: 24.72 MB / 0.698 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.01165/1.511, allocations: 5.155 MB / 0.9195 GB, free: 22.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/1.511, allocations: 8.375 kB / 0.9195 GB, free: 22.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/1.513, allocations: 0.5958 MB / 0.9201 GB, free: 22.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003905/1.517, allocations: 1.87 MB / 0.9219 GB, free: 22.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/1.517, allocations: 144.7 kB / 0.922 GB, free: 22.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003872/1.517, allocations: 205.4 kB / 0.9222 GB, free: 22.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004328/1.521, allocations: 2.253 MB / 0.9244 GB, free: 21.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.222e-05/1.522, allocations: 3.406 kB / 0.9244 GB, free: 21.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001871/1.522, allocations: 89.77 kB / 0.9245 GB, free: 21.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002597/1.522, allocations: 183.1 kB / 0.9247 GB, free: 21.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004081/1.526, allocations: 1.786 MB / 0.9264 GB, free: 21.85 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01602/1.542, allocations: 8.446 MB / 0.9347 GB, free: 19.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/1.544, allocations: 1.123 MB / 0.9358 GB, free: 19.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/1.546, allocations: 0.8644 MB / 0.9366 GB, free: 19.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/1.547, allocations: 498.6 kB / 0.9371 GB, free: 19.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/1.547, allocations: 54.8 kB / 0.9371 GB, free: 18.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=196): time 5.731e-06/1.547, allocations: 0 / 0.9371 GB, free: 18.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=200): time 0.01301/1.56, allocations: 6.185 MB / 0.9432 GB, free: 17.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/1.56, allocations: 102.8 kB / 0.9433 GB, free: 17.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/1.562, allocations: 1.825 MB / 0.9451 GB, free: 17.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002729/1.563, allocations: 58.73 kB / 0.9451 GB, free: 17.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006223/1.563, allocations: 1.188 MB / 0.9463 GB, free: 16.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005541/1.564, allocations: 0.7666 MB / 0.947 GB, free: 16.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006389/1.564, allocations: 399.6 kB / 0.9474 GB, free: 16.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.115e-05/1.565, allocations: 477.9 kB / 0.9479 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/1.566, allocations: 0.6675 MB / 0.9485 GB, free: 15.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/1.567, allocations: 0.9336 MB / 0.9494 GB, free: 15.76 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002823/1.57, allocations: 1.849 MB / 0.9512 GB, free: 15.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.57, allocations: 0 / 0.9512 GB, free: 15.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.004805/1.575, allocations: 2.488 MB / 0.9537 GB, free: 15.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/1.575, allocations: 8.797 kB / 0.9537 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/1.575, allocations: 2.438 kB / 0.9537 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002147/1.577, allocations: 0.5466 MB / 0.9542 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/1.578, allocations: 354.5 kB / 0.9545 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007118/1.586, allocations: 7.203 MB / 0.9616 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/1.587, allocations: 50.84 kB / 0.9616 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003052/1.588, allocations: 116.7 kB / 0.9617 GB, free: 11.25 MB / 0.698 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.0009881/1.589, allocations: 433.6 kB / 0.9622 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006911/1.589, allocations: 310.1 kB / 0.9625 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006821/1.596, allocations: 4.185 MB / 0.9665 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.441e-05/1.596, allocations: 24.44 kB / 0.9666 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/1.596, allocations: 6.906 kB / 0.9666 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.147e-05/1.596, allocations: 10.83 kB / 0.9666 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/1.606, allocations: 5.163 MB / 0.9716 GB, free: 9.848 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.606, allocations: 5.031 kB / 0.9716 GB, free: 9.844 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/1.608, allocations: 284.6 kB / 0.9719 GB, free: 9.844 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002151/1.61, allocations: 0.5732 MB / 0.9725 GB, free: 9.781 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002459/1.61, allocations: 74.92 kB / 0.9725 GB, free: 9.781 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007838/1.618, allocations: 7.214 MB / 0.9796 GB, free: 21.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.618, allocations: 6.062 kB / 0.9796 GB, free: 21.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007077/1.625, allocations: 3.656 MB / 0.9831 GB, free: 21.11 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.626, allocations: 467.8 kB / 0.9836 GB, free: 20.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005313/1.627, allocations: 50.03 kB / 0.9836 GB, free: 20.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/1.628, allocations: 46.69 kB / 0.9837 GB, free: 20.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003752/1.629, allocations: 166.4 kB / 0.9838 GB, free: 20.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002247/1.629, allocations: 103 kB / 0.9839 GB, free: 20.97 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001622/1.63, allocations: 1.223 MB / 0.9851 GB, free: 20.78 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.1e-08/1.63, allocations: 0 / 0.9851 GB, free: 20.78 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004945/1.635, allocations: 1.657 MB / 0.9868 GB, free: 20.55 MB / 0.7136 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.004344/1.64, allocations: 2.026 MB / 0.9887 GB, free: 20.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00453/1.644, allocations: 2.493 MB / 0.9912 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.644, allocations: 4 kB / 0.9912 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003045/1.647, allocations: 1.681 MB / 0.9928 GB, free: 19.13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005499/1.653, allocations: 1.101 MB / 0.9939 GB, free: 18.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007993/1.661, allocations: 4.763 MB / 0.9985 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.662, allocations: 1.191 MB / 0.9997 GB, free: 16.74 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00248/1.664, allocations: 1.049 MB / 1.001 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006556/1.665, allocations: 244.5 kB / 1.001 GB, free: 16.53 MB / 0.7136 GB Notification: Performance of SimCode: time 1.232e-06/1.665, allocations: 0 / 1.001 GB, free: 16.53 MB / 0.7136 GB Notification: Performance of Templates: time 0.1193/1.784, allocations: 74.61 MB / 1.074 GB, free: 10.88 MB / 0.7605 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=240 -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","/var/lib/jenkins/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: 10.55575088900514]