Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001415/0.001415, 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.001623/0.001623, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7435/0.7435, allocations: 100.9 MB / 413.3 MB, free: 2.871 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_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.002495/0.002495, allocations: 88.73 kB / 0.5645 GB, free: 35.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1216, allocations: 74.62 MB / 0.6374 GB, free: 6 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.4622/0.5838, allocations: 124.6 MB / 0.7591 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00447/0.5883, allocations: 4.215 MB / 0.7632 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003956/0.5887, allocations: 38.5 kB / 0.7633 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005972/0.5893, allocations: 187.8 kB / 0.7634 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007597/0.59, allocations: 326.2 kB / 0.7638 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.5911, allocations: 428.8 kB / 0.7642 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008434/0.5919, allocations: 0.7473 MB / 0.7649 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.5921, allocations: 70.92 kB / 0.765 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008035/0.5929, allocations: 407.3 kB / 0.7654 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004742/0.5934, allocations: 338.7 kB / 0.7657 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.5935, allocations: 32.22 kB / 0.7657 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007001/0.5942, allocations: 379.8 kB / 0.7661 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.5943, allocations: 104.7 kB / 0.7662 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.5945, allocations: 173.6 kB / 0.7663 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008439/0.5953, allocations: 0.6303 MB / 0.767 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5953, allocations: 4.562 kB / 0.767 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5953, allocations: 1.703 kB / 0.767 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.5953, allocations: 0 / 0.767 GB, free: 3.305 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.001587/0.5969, allocations: 0.7554 MB / 0.7677 GB, free: 18.87 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.5969, allocations: 12.75 kB / 0.7677 GB, free: 18.87 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.296e-05/0.597, allocations: 53.58 kB / 0.7678 GB, free: 18.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000786/0.5978, allocations: 427.3 kB / 0.7682 GB, free: 18.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.5978, allocations: 18.66 kB / 0.7682 GB, free: 18.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.293e-05/0.5979, allocations: 30.53 kB / 0.7682 GB, free: 18.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.5985, allocations: 451 kB / 0.7686 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.5985, allocations: 1.719 kB / 0.7686 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.5986, allocations: 12.94 kB / 0.7687 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.5986, allocations: 14.84 kB / 0.7687 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000668/0.5993, allocations: 488.2 kB / 0.7691 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.6012, allocations: 1.181 MB / 0.7703 GB, free: 18.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.6016, allocations: 226.6 kB / 0.7705 GB, free: 18.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.6019, allocations: 190.2 kB / 0.7707 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.602, allocations: 24.77 kB / 0.7707 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.6021, allocations: 38.36 kB / 0.7707 GB, free: 17.99 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.773e-06/0.6021, allocations: 0.5312 kB / 0.7707 GB, free: 17.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002596/0.6047, allocations: 1.224 MB / 0.7719 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.6047, allocations: 59.09 kB / 0.772 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.605, allocations: 326.6 kB / 0.7723 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.6051, allocations: 31.55 kB / 0.7723 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.6052, allocations: 208.5 kB / 0.7725 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.754e-05/0.6053, allocations: 127.5 kB / 0.7727 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.6054, allocations: 63.08 kB / 0.7727 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6055, allocations: 353 kB / 0.7731 GB, free: 17 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.6058, allocations: 143.3 kB / 0.7732 GB, free: 17 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.606, allocations: 150.8 kB / 0.7733 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/0.6064, allocations: 339.5 kB / 0.7737 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.6064, allocations: 0 / 0.7737 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000808/0.6072, allocations: 0.5102 MB / 0.7742 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.6072, allocations: 8.219 kB / 0.7742 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.6073, allocations: 1.344 kB / 0.7742 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003389/0.6076, allocations: 115.6 kB / 0.7743 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.6078, allocations: 52.03 kB / 0.7743 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/0.6103, allocations: 2.187 MB / 0.7765 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.6105, allocations: 10.08 kB / 0.7765 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.6105, allocations: 15.66 kB / 0.7765 GB, free: 15.55 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.0001995/0.6107, allocations: 172 kB / 0.7767 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-05/0.6108, allocations: 49 kB / 0.7767 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009472/0.6117, allocations: 0.6512 MB / 0.7773 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6117, allocations: 3.75 kB / 0.7773 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.6118, allocations: 2.938 kB / 0.7773 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6118, allocations: 0 / 0.7773 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.6121, allocations: 326.8 kB / 0.7777 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6121, allocations: 0 / 0.7777 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.6123, allocations: 34.73 kB / 0.7777 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002799/0.6125, allocations: 127.8 kB / 0.7778 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.6126, allocations: 12.62 kB / 0.7778 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/0.6148, allocations: 2.189 MB / 0.78 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.6148, allocations: 1.094 kB / 0.78 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008868/0.6156, allocations: 0.6415 MB / 0.7806 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.6157, allocations: 36.52 kB / 0.7806 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.6157, allocations: 8.125 kB / 0.7806 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.6159, allocations: 7.344 kB / 0.7806 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.616, allocations: 25 kB / 0.7807 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.616, allocations: 12.78 kB / 0.7807 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002627/0.6162, allocations: 266.1 kB / 0.7809 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6162, allocations: 0 / 0.7809 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005134/0.6168, allocations: 112.2 kB / 0.781 GB, free: 13.54 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.0002718/0.617, allocations: 192.5 kB / 0.7812 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000857/0.6179, allocations: 0.4965 MB / 0.7817 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.6179, allocations: 4.297 kB / 0.7817 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005405/0.6184, allocations: 353.4 kB / 0.782 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.6188, allocations: 58.23 kB / 0.7821 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.6202, allocations: 0.9574 MB / 0.783 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.6204, allocations: 229.7 kB / 0.7833 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.6206, allocations: 82.27 kB / 0.7833 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.6206, allocations: 45.77 kB / 0.7834 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of SimCode: time 7.61e-07/0.6206, allocations: 1.203 kB / 0.7834 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of Templates: time 0.01029/0.6309, allocations: 6.617 MB / 0.7898 GB, free: 12.05 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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.947918010875583]