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.001754/0.001754, allocations: 110.4 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.002136/0.002136, allocations: 220.5 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.98 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.7645/0.7645, allocations: 100.3 MB / 412.7 MB, free: 3.668 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: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_dev_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.00249/0.00249, allocations: 86.45 kB / 0.5632 GB, free: 35.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1343, allocations: 74.47 MB / 0.636 GB, free: 7.672 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.5149/0.6492, allocations: 145.2 MB / 0.7777 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005079/0.6543, allocations: 4.645 MB / 0.7823 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.6546, allocations: 39.5 kB / 0.7823 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006437/0.6553, allocations: 206.2 kB / 0.7825 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008214/0.6561, allocations: 326.8 kB / 0.7828 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.6571, allocations: 450.8 kB / 0.7832 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008279/0.6579, allocations: 0.7494 MB / 0.784 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.6581, allocations: 68.58 kB / 0.784 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006943/0.6588, allocations: 410.5 kB / 0.7844 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005877/0.6594, allocations: 348 kB / 0.7848 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.901e-05/0.6594, allocations: 31.81 kB / 0.7848 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009321/0.6604, allocations: 473.8 kB / 0.7852 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.6605, allocations: 105.6 kB / 0.7853 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003842/0.6609, allocations: 214.1 kB / 0.7855 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009084/0.6618, allocations: 0.6438 MB / 0.7862 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6618, allocations: 2.531 kB / 0.7862 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6618, allocations: 0 / 0.7862 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.6618, allocations: 1.438 kB / 0.7862 GB, free: 15.35 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.001609/0.6634, allocations: 0.7581 MB / 0.7869 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.6634, allocations: 9.344 kB / 0.7869 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.662e-05/0.6635, allocations: 60.03 kB / 0.787 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.6636, allocations: 53.08 kB / 0.787 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007377/0.6644, allocations: 422.2 kB / 0.7874 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.6644, allocations: 19.95 kB / 0.7875 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/0.6645, allocations: 25.58 kB / 0.7875 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005926/0.665, allocations: 453.2 kB / 0.7879 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.6651, allocations: 1.75 kB / 0.7879 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.6651, allocations: 13.41 kB / 0.7879 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/0.6651, allocations: 16.72 kB / 0.7879 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000735/0.6659, allocations: 491.4 kB / 0.7884 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.6679, allocations: 1.426 MB / 0.7898 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.6683, allocations: 217.8 kB / 0.79 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.6685, allocations: 192 kB / 0.7902 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.6687, allocations: 27.95 kB / 0.7902 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.6687, allocations: 46.56 kB / 0.7903 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.6687, allocations: 1.094 kB / 0.7903 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002291/0.671, allocations: 1.229 MB / 0.7915 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.671, allocations: 53.53 kB / 0.7915 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.6715, allocations: 402.3 kB / 0.7919 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.6715, allocations: 35.64 kB / 0.7919 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.6716, allocations: 199.6 kB / 0.7921 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.68e-05/0.6717, allocations: 124.7 kB / 0.7922 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.132e-05/0.6718, allocations: 66.03 kB / 0.7923 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.672, allocations: 360.5 kB / 0.7927 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.6721, allocations: 144.5 kB / 0.7928 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.6724, allocations: 147.8 kB / 0.7929 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004981/0.6729, allocations: 345.2 kB / 0.7933 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.6729, allocations: 4 kB / 0.7933 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008646/0.6737, allocations: 0.5085 MB / 0.7938 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.6737, allocations: 8.062 kB / 0.7938 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6737, allocations: 6.406 kB / 0.7938 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003304/0.6741, allocations: 122.3 kB / 0.7939 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.6743, allocations: 54.3 kB / 0.7939 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.6768, allocations: 2.223 MB / 0.7961 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.677, allocations: 10.25 kB / 0.7961 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.677, allocations: 12.83 kB / 0.7961 GB, free: 11.23 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.0001776/0.6772, allocations: 171.5 kB / 0.7963 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.769e-05/0.6773, allocations: 49.67 kB / 0.7963 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000906/0.6782, allocations: 0.6575 MB / 0.797 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.6782, allocations: 2.625 kB / 0.797 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.6782, allocations: 6.125 kB / 0.797 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6782, allocations: 0 / 0.797 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005217/0.6787, allocations: 416.9 kB / 0.7974 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6787, allocations: 3.938 kB / 0.7974 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.6789, allocations: 31.59 kB / 0.7974 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/0.6792, allocations: 123 kB / 0.7975 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.6792, allocations: 8.578 kB / 0.7976 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/0.6814, allocations: 2.232 MB / 0.7997 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6814, allocations: 96 / 0.7997 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009359/0.6824, allocations: 0.6514 MB / 0.8004 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.165e-05/0.6824, allocations: 46.06 kB / 0.8004 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.6825, allocations: 3.188 kB / 0.8004 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.6826, allocations: 10.5 kB / 0.8004 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.6827, allocations: 19.59 kB / 0.8004 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.6827, allocations: 14.58 kB / 0.8005 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002748/0.683, allocations: 322.7 kB / 0.8008 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.683, allocations: 0 / 0.8008 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005514/0.6835, allocations: 112.8 kB / 0.8009 GB, free: 9.09 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.001274/0.6848, allocations: 1.278 MB / 0.8021 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008846/0.6857, allocations: 0.4965 MB / 0.8026 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6857, allocations: 1.094 kB / 0.8026 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005307/0.6862, allocations: 357.3 kB / 0.803 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/0.6868, allocations: 113.6 kB / 0.8031 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005124/0.6919, allocations: 4.133 MB / 0.8071 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.6924, allocations: 0.8346 MB / 0.8079 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002158/0.6926, allocations: 95.86 kB / 0.808 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.6928, allocations: 156.4 kB / 0.8082 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of SimCode: time 3.7e-07/0.6928, allocations: 0 / 0.8082 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04567/0.7385, allocations: 12.2 MB / 0.8201 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.16, allocations: 2.656 kB / 0.8201 GB, free: 15.91 MB / 0.6075 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_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: 17.79190675308928]