Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.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.001589/0.001589, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001781/0.001781, allocations: 212.4 kB / 22.25 MB, free: 4.859 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.809 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.7375/0.7375, allocations: 94.61 MB / 407 MB, free: 8.859 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.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction") [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.002754/0.002754, allocations: 87.88 kB / 0.5554 GB, free: 38.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1111, allocations: 73.05 MB / 0.6268 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1536/0.2647, allocations: 124.6 MB / 0.7485 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2953/0.56, allocations: 4.207 MB / 0.7526 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004566/0.5605, allocations: 37.75 kB / 0.7526 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007346/0.5612, allocations: 189.7 kB / 0.7528 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009255/0.5621, allocations: 318.5 kB / 0.7531 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.5634, allocations: 431.8 kB / 0.7535 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001077/0.5645, allocations: 0.7479 MB / 0.7543 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.5647, allocations: 73.5 kB / 0.7543 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009684/0.5657, allocations: 411 kB / 0.7547 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006346/0.5663, allocations: 331.8 kB / 0.755 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.5664, allocations: 31.94 kB / 0.7551 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009052/0.5673, allocations: 386.7 kB / 0.7554 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.5675, allocations: 107.3 kB / 0.7555 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.5678, allocations: 169.5 kB / 0.7557 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.569, allocations: 0.6326 MB / 0.7563 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.569, allocations: 3.281 kB / 0.7563 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.569, allocations: 1.75 kB / 0.7563 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.569, allocations: 0 / 0.7563 GB, free: 3.488 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002002/0.571, allocations: 0.7589 MB / 0.7571 GB, free: 19.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.571, allocations: 10.44 kB / 0.7571 GB, free: 19.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.5712, allocations: 52.14 kB / 0.7571 GB, free: 19.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009414/0.5721, allocations: 425.2 kB / 0.7575 GB, free: 18.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.5721, allocations: 21.42 kB / 0.7575 GB, free: 18.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.14e-05/0.5722, allocations: 22.66 kB / 0.7576 GB, free: 18.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007406/0.5729, allocations: 445.6 kB / 0.758 GB, free: 18.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.573, allocations: 1.031 kB / 0.758 GB, free: 18.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.573, allocations: 12.91 kB / 0.758 GB, free: 18.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/0.573, allocations: 18.91 kB / 0.758 GB, free: 18.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007253/0.5738, allocations: 492.1 kB / 0.7585 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.5757, allocations: 1.171 MB / 0.7596 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.5761, allocations: 228.2 kB / 0.7599 GB, free: 18.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.5764, allocations: 189.3 kB / 0.76 GB, free: 18.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.5765, allocations: 31.75 kB / 0.7601 GB, free: 18.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.5766, allocations: 37.41 kB / 0.7601 GB, free: 18.19 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.5766, allocations: 0.5625 kB / 0.7601 GB, free: 18.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002245/0.5788, allocations: 1.218 MB / 0.7613 GB, free: 17.92 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.5788, allocations: 54.97 kB / 0.7613 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.5791, allocations: 325.8 kB / 0.7617 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.5792, allocations: 36.91 kB / 0.7617 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.5793, allocations: 207.8 kB / 0.7619 GB, free: 17.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.989e-05/0.5794, allocations: 130.1 kB / 0.762 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.5795, allocations: 64.94 kB / 0.7621 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.5797, allocations: 352.4 kB / 0.7624 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.5799, allocations: 143.2 kB / 0.7625 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.5801, allocations: 147.2 kB / 0.7627 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.5805, allocations: 338.5 kB / 0.763 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5805, allocations: 0 / 0.763 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000793/0.5813, allocations: 0.5166 MB / 0.7635 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.5814, allocations: 10.88 kB / 0.7635 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5814, allocations: 0 / 0.7635 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000343/0.5817, allocations: 115.9 kB / 0.7636 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.582, allocations: 55.36 kB / 0.7637 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.5846, allocations: 2.182 MB / 0.7658 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.5849, allocations: 9.5 kB / 0.7658 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.5849, allocations: 14.98 kB / 0.7658 GB, free: 15.77 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002396/0.5851, allocations: 174.2 kB / 0.766 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.912e-05/0.5852, allocations: 41.62 kB / 0.766 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.5864, allocations: 0.6443 MB / 0.7667 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.5864, allocations: 5.906 kB / 0.7667 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.5864, allocations: 6.688 kB / 0.7667 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.5864, allocations: 0.5938 kB / 0.7667 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000484/0.5869, allocations: 327.8 kB / 0.767 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5869, allocations: 1.906 kB / 0.767 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.5871, allocations: 34.31 kB / 0.767 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003531/0.5874, allocations: 130.5 kB / 0.7672 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.5875, allocations: 15.31 kB / 0.7672 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/0.59, allocations: 2.182 MB / 0.7693 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.59, allocations: 1.031 kB / 0.7693 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000994/0.591, allocations: 0.6422 MB / 0.7699 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.591, allocations: 32.61 kB / 0.77 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.662e-05/0.5911, allocations: 6.562 kB / 0.77 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.5913, allocations: 8.609 kB / 0.77 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/0.5913, allocations: 30.38 kB / 0.77 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.5914, allocations: 11.28 kB / 0.77 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002893/0.5916, allocations: 264.2 kB / 0.7703 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5916, allocations: 1.297 kB / 0.7703 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005933/0.5922, allocations: 117.4 kB / 0.7704 GB, free: 13.76 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00028/0.5925, allocations: 181.5 kB / 0.7706 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009813/0.5935, allocations: 0.5007 MB / 0.771 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5935, allocations: 0.625 kB / 0.771 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006483/0.5941, allocations: 353 kB / 0.7714 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.5945, allocations: 64.75 kB / 0.7714 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.5961, allocations: 0.9468 MB / 0.7724 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.5963, allocations: 231.5 kB / 0.7726 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002417/0.5966, allocations: 85.67 kB / 0.7727 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.5967, allocations: 40.5 kB / 0.7727 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.5967, allocations: 0 / 0.7727 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of Templates: time 0.01136/0.608, allocations: 6.613 MB / 0.7792 GB, free: 12.36 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.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: 5.92475669272244]