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.001483/0.001483, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.00174/0.00174, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.436/1.436, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.7299/0.7299, allocations: 74.91 MB / 334.7 MB, free: 15.52 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.002613/0.002613, allocations: 87.39 kB / 496.4 MB, free: 29.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1265, allocations: 73.02 MB / 0.5561 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1613/0.2878, allocations: 124.7 MB / 0.6778 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005533/0.2933, allocations: 4.219 MB / 0.6819 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000294/0.2936, allocations: 35.69 kB / 0.6819 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006736/0.2943, allocations: 194.7 kB / 0.6821 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007476/0.295, allocations: 326.2 kB / 0.6824 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.2961, allocations: 438.3 kB / 0.6829 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008939/0.297, allocations: 0.744 MB / 0.6836 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.2972, allocations: 62.91 kB / 0.6836 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008364/0.298, allocations: 406.3 kB / 0.684 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005245/0.2986, allocations: 334.8 kB / 0.6843 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.895e-05/0.2986, allocations: 28 kB / 0.6844 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007797/0.2994, allocations: 387.3 kB / 0.6847 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.2995, allocations: 103.6 kB / 0.6848 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.2997, allocations: 175.1 kB / 0.685 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008725/0.3006, allocations: 0.6382 MB / 0.6856 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3006, allocations: 0 / 0.6856 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3006, allocations: 0 / 0.6856 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3006, allocations: 4 kB / 0.6856 GB, free: 10.39 MB / 0.5919 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.001613/0.3022, allocations: 0.7499 MB / 0.6864 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3023, allocations: 12.03 kB / 0.6864 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.3024, allocations: 56.56 kB / 0.6864 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007523/0.3031, allocations: 424.2 kB / 0.6868 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.3032, allocations: 16.88 kB / 0.6869 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/0.3032, allocations: 28.36 kB / 0.6869 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.3039, allocations: 445.5 kB / 0.6873 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.304, allocations: 3.984 kB / 0.6873 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.304, allocations: 8 kB / 0.6873 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/0.304, allocations: 16.5 kB / 0.6873 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007627/0.3048, allocations: 493.5 kB / 0.6878 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.3069, allocations: 1.183 MB / 0.689 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.3073, allocations: 222.4 kB / 0.6892 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.3077, allocations: 192.8 kB / 0.6894 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.3078, allocations: 23.98 kB / 0.6894 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.3078, allocations: 34.56 kB / 0.6894 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.833e-06/0.3078, allocations: 0 / 0.6894 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002926/0.3108, allocations: 1.227 MB / 0.6906 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.3108, allocations: 55.41 kB / 0.6907 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.3113, allocations: 325.6 kB / 0.691 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.3113, allocations: 29.7 kB / 0.691 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.3115, allocations: 216.7 kB / 0.6912 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.3117, allocations: 122.9 kB / 0.6913 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.3118, allocations: 65.67 kB / 0.6914 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002241/0.312, allocations: 350.8 kB / 0.6917 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.3123, allocations: 143.9 kB / 0.6919 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.3125, allocations: 147.8 kB / 0.692 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/0.3132, allocations: 337.2 kB / 0.6923 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3132, allocations: 7.938 kB / 0.6923 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001013/0.3142, allocations: 0.5093 MB / 0.6928 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.3142, allocations: 4 kB / 0.6928 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3142, allocations: 0 / 0.6928 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004174/0.3146, allocations: 112.8 kB / 0.6929 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.3149, allocations: 59.88 kB / 0.693 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/0.3178, allocations: 2.18 MB / 0.6951 GB, free: 340 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.318, allocations: 8.141 kB / 0.6951 GB, free: 332 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.318, allocations: 19.92 kB / 0.6952 GB, free: 312 kB / 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.0002069/0.3182, allocations: 165.8 kB / 0.6953 GB, free: 136 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-05/0.3183, allocations: 43.72 kB / 0.6954 GB, free: 92 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.285/0.6034, allocations: 0.6419 MB / 0.696 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.6034, allocations: 2.875 kB / 0.696 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6034, allocations: 2.406 kB / 0.696 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.6034, allocations: 2.156 kB / 0.696 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.6039, allocations: 336.9 kB / 0.6963 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6039, allocations: 0.5625 kB / 0.6963 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.6041, allocations: 35.36 kB / 0.6963 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003738/0.6045, allocations: 127.8 kB / 0.6965 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.6045, allocations: 12.56 kB / 0.6965 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.6067, allocations: 2.179 MB / 0.6986 GB, free: 141 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6067, allocations: 0 / 0.6986 GB, free: 141 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009904/0.6077, allocations: 0.6458 MB / 0.6992 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.6077, allocations: 32.55 kB / 0.6993 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.6078, allocations: 8.375 kB / 0.6993 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.6079, allocations: 10.88 kB / 0.6993 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.608, allocations: 23.8 kB / 0.6993 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.608, allocations: 16.81 kB / 0.6993 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000247/0.6083, allocations: 264.6 kB / 0.6996 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6083, allocations: 0 / 0.6996 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005117/0.6088, allocations: 113.1 kB / 0.6997 GB, free: 140.6 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.0002426/0.609, allocations: 182.2 kB / 0.6999 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008142/0.6098, allocations: 0.5003 MB / 0.7003 GB, free: 140.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.6098, allocations: 0 / 0.7003 GB, free: 140.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004955/0.6103, allocations: 355.6 kB / 0.7007 GB, free: 140.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.6107, allocations: 68.69 kB / 0.7007 GB, free: 140.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.612, allocations: 0.9468 MB / 0.7017 GB, free: 139.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.6122, allocations: 230.2 kB / 0.7019 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001969/0.6124, allocations: 85.2 kB / 0.702 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.428e-05/0.6125, allocations: 40.77 kB / 0.702 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/0.6125, allocations: 4 kB / 0.702 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.01201/0.6245, allocations: 6.071 MB / 0.7079 GB, free: 137.9 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 -s ida -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: 5.957494991947897]