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.0009078/0.0009078, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008044/0.0008044, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8863/0.8863, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.5068/0.5068, allocations: 80.18 MB / 340.1 MB, free: 7.555 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.192e-06/1.192e-06, allocations: 0 / 0.4936 GB, free: 6.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.084e-05, allocations: 7.906 kB / 0.4936 GB, free: 6.211 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.4719/0.4719, allocations: 339.1 MB / 0.8247 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01492/0.4869, allocations: 16.15 MB / 0.8405 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.4882, allocations: 118.9 kB / 0.8406 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003025/0.4912, allocations: 1.778 MB / 0.8423 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0155/0.5067, allocations: 9.078 MB / 0.8512 GB, free: 14 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.008304/0.515, allocations: 4.407 MB / 0.8555 GB, free: 9.574 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00361/0.5186, allocations: 4.515 MB / 0.8599 GB, free: 5.039 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006464/0.5192, allocations: 0.6387 MB / 0.8606 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003459/0.5227, allocations: 3.463 MB / 0.8639 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.524, allocations: 1.652 MB / 0.8655 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.5242, allocations: 244 kB / 0.8658 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01704/0.5412, allocations: 13.75 MB / 0.8792 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000551/0.5418, allocations: 0.9394 MB / 0.8801 GB, free: 272 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007802/0.5425, allocations: 1.068 MB / 0.8812 GB, free: 15.2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01412/0.5567, allocations: 10.78 MB / 0.8917 GB, free: 4.391 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5567, allocations: 4 kB / 0.8917 GB, free: 4.387 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5567, allocations: 0 / 0.8917 GB, free: 4.387 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.015e-05/0.5567, allocations: 0 / 0.8917 GB, free: 4.387 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.005187/0.5619, allocations: 4.698 MB / 0.8963 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.5619, allocations: 9.469 kB / 0.8963 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008359/0.5627, allocations: 389.9 kB / 0.8967 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.5645, allocations: 1.65 MB / 0.8983 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.351e-05/0.5646, allocations: 143.8 kB / 0.8984 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.5648, allocations: 205.9 kB / 0.8986 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.5675, allocations: 3.207 MB / 0.9017 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.5675, allocations: 8 kB / 0.9017 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.5676, allocations: 83.91 kB / 0.9018 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001364/0.5678, allocations: 191.8 kB / 0.902 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00296/0.5707, allocations: 3.455 MB / 0.9054 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2344/0.8052, allocations: 7.627 MB / 0.9128 GB, free: 306.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.8073, allocations: 1.485 MB / 0.9143 GB, free: 306.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.8087, allocations: 1.275 MB / 0.9155 GB, free: 306.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/0.8097, allocations: 494.2 kB / 0.916 GB, free: 306 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.8097, allocations: 56.98 kB / 0.9161 GB, free: 305.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=196): time 4.999e-06/0.8097, allocations: 0 / 0.9161 GB, free: 305.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=200): time 0.01091/0.8206, allocations: 7.861 MB / 0.9237 GB, free: 302.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.8207, allocations: 103.3 kB / 0.9238 GB, free: 302.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.822, allocations: 1.425 MB / 0.9252 GB, free: 302 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.527e-05/0.8221, allocations: 59.64 kB / 0.9253 GB, free: 301.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.8225, allocations: 1.013 MB / 0.9263 GB, free: 301.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.8228, allocations: 0.7083 MB / 0.927 GB, free: 300.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003457/0.8231, allocations: 350.9 kB / 0.9273 GB, free: 300.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 2.591e-05/0.8231, allocations: 306.6 kB / 0.9276 GB, free: 300.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000954/0.8241, allocations: 1.044 MB / 0.9286 GB, free: 299.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.8252, allocations: 1.217 MB / 0.9298 GB, free: 299.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.8272, allocations: 2.432 MB / 0.9322 GB, free: 298.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8272, allocations: 3.969 kB / 0.9322 GB, free: 298.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.002779/0.83, allocations: 3.127 MB / 0.9352 GB, free: 297 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.83, allocations: 5.656 kB / 0.9352 GB, free: 297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.83, allocations: 3.688 kB / 0.9352 GB, free: 297 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007642/0.8308, allocations: 476.4 kB / 0.9357 GB, free: 296.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/0.8314, allocations: 344.7 kB / 0.936 GB, free: 296.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/0.8354, allocations: 5.995 MB / 0.9419 GB, free: 292.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005189/0.8359, allocations: 52.66 kB / 0.9419 GB, free: 292.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.8361, allocations: 121.1 kB / 0.942 GB, free: 292.5 MB / 0.7136 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.0006713/0.8368, allocations: 0.5307 MB / 0.9426 GB, free: 292.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.837, allocations: 221.4 kB / 0.9428 GB, free: 292 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003916/0.8409, allocations: 4.556 MB / 0.9472 GB, free: 289.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/0.8409, allocations: 20 kB / 0.9472 GB, free: 289 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.8409, allocations: 8 kB / 0.9472 GB, free: 289 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.841, allocations: 7.969 kB / 0.9473 GB, free: 289 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005204/0.8462, allocations: 5.544 MB / 0.9527 GB, free: 283.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.8462, allocations: 3.938 kB / 0.9527 GB, free: 283.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.8467, allocations: 283.6 kB / 0.9529 GB, free: 283.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007296/0.8474, allocations: 493.7 kB / 0.9534 GB, free: 282.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.8475, allocations: 75.62 kB / 0.9535 GB, free: 282.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003824/0.8513, allocations: 6.007 MB / 0.9594 GB, free: 276.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.8513, allocations: 4.188 kB / 0.9594 GB, free: 276.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003851/0.8552, allocations: 4.722 MB / 0.964 GB, free: 271.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.8554, allocations: 197.1 kB / 0.9642 GB, free: 271.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.8556, allocations: 44 kB / 0.9642 GB, free: 271.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004742/0.856, allocations: 47.83 kB / 0.9642 GB, free: 271.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/0.8563, allocations: 165.6 kB / 0.9644 GB, free: 271.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.8564, allocations: 111.9 kB / 0.9645 GB, free: 271.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007999/0.8572, allocations: 1.073 MB / 0.9656 GB, free: 270.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8572, allocations: 3.938 kB / 0.9656 GB, free: 270.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00327/0.8604, allocations: 1.654 MB / 0.9672 GB, free: 268.7 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.002586/0.863, allocations: 2.026 MB / 0.9692 GB, free: 267.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002817/0.8658, allocations: 2.983 MB / 0.9721 GB, free: 264.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8658, allocations: 0 / 0.9721 GB, free: 264.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/0.8673, allocations: 1.765 MB / 0.9738 GB, free: 262.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.8696, allocations: 1.031 MB / 0.9748 GB, free: 261.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005555/0.8752, allocations: 5.26 MB / 0.9799 GB, free: 256.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00072/0.8759, allocations: 1.233 MB / 0.9811 GB, free: 255.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/0.8764, allocations: 264.3 kB / 0.9814 GB, free: 254.8 MB / 0.7136 GB Notification: Performance of SimCode: time 1.433e-06/0.8764, allocations: 0 / 0.9814 GB, free: 254.8 MB / 0.7136 GB Notification: Performance of Templates: time 0.04779/0.9242, allocations: 81.34 MB / 1.061 GB, free: 173.7 MB / 0.7136 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=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/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: 13.427687523886561]