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.001308/0.001308, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001618/0.001618, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 7.984 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.8259/0.8259, allocations: 94.56 MB / 407 MB, free: 9.629 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: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) [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.002483/0.002483, allocations: 79.67 kB / 0.5549 GB, free: 38.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1553, allocations: 73.06 MB / 0.6263 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.5978/0.753, allocations: 145.2 MB / 0.7681 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005062/0.7581, allocations: 4.644 MB / 0.7726 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006082/0.7587, allocations: 38.5 kB / 0.7726 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000778/0.7595, allocations: 207.2 kB / 0.7728 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008588/0.7603, allocations: 323.9 kB / 0.7731 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.7616, allocations: 447.1 kB / 0.7736 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001231/0.7628, allocations: 0.7536 MB / 0.7743 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002512/0.7631, allocations: 75.53 kB / 0.7744 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.7641, allocations: 405.2 kB / 0.7748 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006635/0.7648, allocations: 348 kB / 0.7751 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.851e-05/0.7649, allocations: 31.03 kB / 0.7751 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.7662, allocations: 472.7 kB / 0.7756 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.7664, allocations: 106.6 kB / 0.7757 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.7667, allocations: 212 kB / 0.7759 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.7679, allocations: 0.6543 MB / 0.7765 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7679, allocations: 0 / 0.7765 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.335e-06/0.7679, allocations: 1.344 kB / 0.7765 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.7679, allocations: 0 / 0.7765 GB, free: 2.383 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.001905/0.7698, allocations: 0.7556 MB / 0.7773 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.7699, allocations: 11.12 kB / 0.7773 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.981e-05/0.7699, allocations: 60.2 kB / 0.7773 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.794e-05/0.77, allocations: 55.84 kB / 0.7774 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008086/0.7708, allocations: 421.8 kB / 0.7778 GB, free: 17.67 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.7709, allocations: 17.41 kB / 0.7778 GB, free: 17.67 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.027e-05/0.7709, allocations: 27.09 kB / 0.7778 GB, free: 17.67 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007069/0.7716, allocations: 453.3 kB / 0.7783 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.7717, allocations: 0 / 0.7783 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.7717, allocations: 9.781 kB / 0.7783 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-05/0.7717, allocations: 20.98 kB / 0.7783 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/0.7726, allocations: 490.2 kB / 0.7787 GB, free: 17.58 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.7748, allocations: 1.415 MB / 0.7801 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.7752, allocations: 227.3 kB / 0.7803 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.7755, allocations: 188.6 kB / 0.7805 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.7757, allocations: 32.42 kB / 0.7806 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.7757, allocations: 37.94 kB / 0.7806 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.7757, allocations: 3.594 kB / 0.7806 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002435/0.7782, allocations: 1.235 MB / 0.7818 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.7782, allocations: 54.16 kB / 0.7819 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.7786, allocations: 396.6 kB / 0.7822 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.7787, allocations: 34.05 kB / 0.7823 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.7788, allocations: 202.6 kB / 0.7825 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.507e-05/0.7789, allocations: 132.2 kB / 0.7826 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.779, allocations: 66.66 kB / 0.7826 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.7792, allocations: 358 kB / 0.783 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.7794, allocations: 146.1 kB / 0.7831 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.7796, allocations: 152.8 kB / 0.7833 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.7801, allocations: 337.2 kB / 0.7836 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.7801, allocations: 0 / 0.7836 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008511/0.7809, allocations: 0.5127 MB / 0.7841 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.781, allocations: 5.469 kB / 0.7841 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.781, allocations: 0 / 0.7841 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003796/0.7814, allocations: 116.4 kB / 0.7842 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.7816, allocations: 60.42 kB / 0.7843 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/0.784, allocations: 2.228 MB / 0.7864 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.7843, allocations: 12.3 kB / 0.7865 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.7843, allocations: 17.88 kB / 0.7865 GB, free: 14.33 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.0002276/0.7845, allocations: 166.6 kB / 0.7866 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.987e-05/0.7846, allocations: 48.3 kB / 0.7867 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009433/0.7856, allocations: 0.6516 MB / 0.7873 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.7856, allocations: 3.219 kB / 0.7873 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7856, allocations: 3.688 kB / 0.7873 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.7856, allocations: 2.953 kB / 0.7873 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005085/0.7861, allocations: 414.3 kB / 0.7877 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7861, allocations: 9.141 kB / 0.7877 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.7863, allocations: 37.72 kB / 0.7878 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002994/0.7866, allocations: 123.6 kB / 0.7879 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.7866, allocations: 16.77 kB / 0.7879 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/0.7889, allocations: 2.222 MB / 0.7901 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.7889, allocations: 96 / 0.7901 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008883/0.7898, allocations: 0.6501 MB / 0.7907 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.7898, allocations: 42.52 kB / 0.7907 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.7899, allocations: 13.44 kB / 0.7908 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.79, allocations: 10.84 kB / 0.7908 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.7901, allocations: 22.56 kB / 0.7908 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.7901, allocations: 11.56 kB / 0.7908 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003172/0.7904, allocations: 319.4 kB / 0.7911 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7904, allocations: 0 / 0.7911 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005178/0.791, allocations: 110.8 kB / 0.7912 GB, free: 12.22 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.001388/0.7923, allocations: 1.278 MB / 0.7925 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008693/0.7932, allocations: 0.497 MB / 0.7929 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7932, allocations: 0 / 0.7929 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00055/0.7938, allocations: 353.6 kB / 0.7933 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005842/0.7943, allocations: 113.5 kB / 0.7934 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005188/0.7995, allocations: 4.126 MB / 0.7974 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.8, allocations: 0.8317 MB / 0.7982 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002626/0.8002, allocations: 93.31 kB / 0.7983 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.8004, allocations: 158 kB / 0.7985 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of SimCode: time 8.62e-07/0.8004, allocations: 0 / 0.7985 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05556/0.856, allocations: 12.21 MB / 0.8104 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.35, allocations: 3.375 kB / 0.8104 GB, free: 5.25 MB / 0.5919 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1260.0] 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: 17.109379587927833]