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.001649/0.001649, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00184/0.00184, allocations: 213.9 kB / 23.01 MB, free: 4.566 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.375/1.375, allocations: 230.6 MB / 256.8 MB, free: 8 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.6977/0.6977, allocations: 94.55 MB / 407.7 MB, free: 9.184 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.002442/0.002442, allocations: 88.73 kB / 0.5562 GB, free: 38.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1237, allocations: 73.05 MB / 0.6275 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.4507/0.5744, allocations: 145.2 MB / 0.7693 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003819/0.5782, allocations: 4.642 MB / 0.7738 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.5785, allocations: 37.97 kB / 0.7739 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.5791, allocations: 202.7 kB / 0.774 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006474/0.5798, allocations: 329.1 kB / 0.7744 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009968/0.5808, allocations: 455.1 kB / 0.7748 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.5818, allocations: 0.7526 MB / 0.7755 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.582, allocations: 72.69 kB / 0.7756 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009038/0.5829, allocations: 409.6 kB / 0.776 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005502/0.5835, allocations: 340.2 kB / 0.7763 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.79e-05/0.5835, allocations: 30.91 kB / 0.7763 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.5846, allocations: 471.9 kB / 0.7768 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.5847, allocations: 106.8 kB / 0.7769 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002647/0.585, allocations: 216.4 kB / 0.7771 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009401/0.5859, allocations: 0.644 MB / 0.7777 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5859, allocations: 2.156 kB / 0.7777 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5859, allocations: 1.094 kB / 0.7777 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.5859, allocations: 1.203 kB / 0.7777 GB, free: 2.102 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.00164/0.5876, allocations: 0.7583 MB / 0.7785 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5876, allocations: 10.34 kB / 0.7785 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.621e-05/0.5877, allocations: 57.66 kB / 0.7785 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.5884, allocations: 417.1 kB / 0.7789 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.5884, allocations: 20.12 kB / 0.779 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.5885, allocations: 23.5 kB / 0.779 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005658/0.5891, allocations: 449 kB / 0.7794 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.5891, allocations: 5.266 kB / 0.7794 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.5891, allocations: 8.5 kB / 0.7794 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.5891, allocations: 17.66 kB / 0.7794 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007099/0.5899, allocations: 490.5 kB / 0.7799 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.5918, allocations: 1.408 MB / 0.7813 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.5922, allocations: 225.8 kB / 0.7815 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.5925, allocations: 195.4 kB / 0.7817 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.5926, allocations: 41.28 kB / 0.7817 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.5926, allocations: 35.66 kB / 0.7818 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.043e-06/0.5926, allocations: 4 kB / 0.7818 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002243/0.5949, allocations: 1.234 MB / 0.783 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.5949, allocations: 54.22 kB / 0.783 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.5953, allocations: 400.6 kB / 0.7834 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.5953, allocations: 30.45 kB / 0.7834 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.5955, allocations: 206.7 kB / 0.7836 GB, free: 16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.404e-05/0.5955, allocations: 123.8 kB / 0.7837 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.2e-05/0.5956, allocations: 63.61 kB / 0.7838 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.5958, allocations: 359 kB / 0.7841 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.596, allocations: 144.7 kB / 0.7843 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.5962, allocations: 146.9 kB / 0.7844 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/0.5966, allocations: 339.5 kB / 0.7848 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5966, allocations: 4.203 kB / 0.7848 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007745/0.5974, allocations: 0.5167 MB / 0.7853 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.5974, allocations: 7.625 kB / 0.7853 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.5974, allocations: 0 / 0.7853 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/0.5978, allocations: 115 kB / 0.7854 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.598, allocations: 54 kB / 0.7854 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.6002, allocations: 2.232 MB / 0.7876 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.6004, allocations: 14.12 kB / 0.7876 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.6004, allocations: 18.8 kB / 0.7876 GB, free: 14.09 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.0001877/0.6006, allocations: 170.5 kB / 0.7878 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.396e-05/0.6007, allocations: 48.14 kB / 0.7878 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008484/0.6015, allocations: 0.6499 MB / 0.7885 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.6015, allocations: 6.969 kB / 0.7885 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6015, allocations: 5.844 kB / 0.7885 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6015, allocations: 2.375 kB / 0.7885 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.6019, allocations: 418.3 kB / 0.7889 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.6019, allocations: 0 / 0.7889 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.6021, allocations: 36 kB / 0.7889 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002866/0.6024, allocations: 129.5 kB / 0.7891 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.6024, allocations: 16.86 kB / 0.7891 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.6045, allocations: 2.22 MB / 0.7912 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6045, allocations: 1.391 kB / 0.7912 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008404/0.6053, allocations: 0.6514 MB / 0.7919 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.6054, allocations: 38.73 kB / 0.7919 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.6054, allocations: 10.28 kB / 0.7919 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.6056, allocations: 9.516 kB / 0.7919 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.6057, allocations: 28.23 kB / 0.792 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.6057, allocations: 19.17 kB / 0.792 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002725/0.606, allocations: 316.6 kB / 0.7923 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.606, allocations: 0 / 0.7923 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004786/0.6064, allocations: 113.8 kB / 0.7924 GB, free: 11.98 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.000253/0.6067, allocations: 178.6 kB / 0.7926 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007903/0.6075, allocations: 0.5017 MB / 0.793 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6075, allocations: 1.203 kB / 0.793 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005055/0.608, allocations: 354.8 kB / 0.7934 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005356/0.6085, allocations: 108.5 kB / 0.7935 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.6101, allocations: 0.9959 MB / 0.7945 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.6105, allocations: 0.8281 MB / 0.7953 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.6107, allocations: 50.75 kB / 0.7953 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.6107, allocations: 0 / 0.7953 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of Templates: time 0.01066/0.6213, allocations: 8.963 MB / 0.8041 GB, free: 8.293 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/jenkins1/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: 8.778864094987512]