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.001764/0.001764, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.002141/0.002141, allocations: 214.3 kB / 23.04 MB, free: 5.07 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.359/1.359, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.7231/0.7231, allocations: 94.56 MB / 407.8 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: "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",fmuType="cs",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.002296/0.002296, allocations: 80.56 kB / 0.5557 GB, free: 38.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1152, allocations: 73.04 MB / 0.627 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.4449/0.5601, allocations: 145.2 MB / 0.7688 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003628/0.5637, allocations: 4.641 MB / 0.7734 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003273/0.564, allocations: 38.75 kB / 0.7734 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005285/0.5645, allocations: 204.8 kB / 0.7736 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006028/0.5651, allocations: 327.2 kB / 0.7739 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009373/0.5661, allocations: 453.4 kB / 0.7743 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008685/0.5669, allocations: 0.7472 MB / 0.7751 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.5671, allocations: 79.77 kB / 0.7751 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007784/0.5679, allocations: 400.8 kB / 0.7755 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005342/0.5684, allocations: 348.9 kB / 0.7759 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.68e-05/0.5685, allocations: 31.41 kB / 0.7759 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000925/0.5694, allocations: 472.7 kB / 0.7763 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.225e-05/0.5695, allocations: 103.2 kB / 0.7764 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.5697, allocations: 217.9 kB / 0.7766 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007426/0.5705, allocations: 0.6491 MB / 0.7773 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.5705, allocations: 0.9062 kB / 0.7773 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5705, allocations: 0 / 0.7773 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.5705, allocations: 0 / 0.7773 GB, free: 1.938 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.001468/0.572, allocations: 0.7609 MB / 0.778 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.572, allocations: 10.16 kB / 0.778 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.679e-05/0.572, allocations: 6.688 kB / 0.778 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.962e-05/0.5721, allocations: 62.86 kB / 0.7781 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.472e-05/0.5722, allocations: 56.77 kB / 0.7782 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006496/0.5728, allocations: 419.3 kB / 0.7786 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.5728, allocations: 20.94 kB / 0.7786 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/0.5729, allocations: 24.16 kB / 0.7786 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005835/0.5735, allocations: 453.2 kB / 0.779 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.5735, allocations: 0 / 0.779 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.5735, allocations: 9.625 kB / 0.779 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/0.5735, allocations: 20.94 kB / 0.7791 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008149/0.5744, allocations: 487.3 kB / 0.7795 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.5762, allocations: 1.422 MB / 0.7809 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.5766, allocations: 227.8 kB / 0.7811 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.5769, allocations: 187.8 kB / 0.7813 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.577, allocations: 34.2 kB / 0.7813 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.577, allocations: 40.84 kB / 0.7814 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.342e-06/0.577, allocations: 3.938 kB / 0.7814 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002191/0.5792, allocations: 1.234 MB / 0.7826 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.5792, allocations: 55.25 kB / 0.7826 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.5796, allocations: 395.5 kB / 0.783 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.5796, allocations: 33.92 kB / 0.783 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.5798, allocations: 204.2 kB / 0.7832 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.5798, allocations: 129.2 kB / 0.7834 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.837e-05/0.5799, allocations: 65.69 kB / 0.7834 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5801, allocations: 357 kB / 0.7838 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.5803, allocations: 145.8 kB / 0.7839 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.5805, allocations: 150.8 kB / 0.7841 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/0.5809, allocations: 337.3 kB / 0.7844 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.5809, allocations: 0 / 0.7844 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007539/0.5817, allocations: 0.5146 MB / 0.7849 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.5817, allocations: 10.05 kB / 0.7849 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5817, allocations: 0 / 0.7849 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003209/0.582, allocations: 117.3 kB / 0.785 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.5823, allocations: 55.47 kB / 0.7851 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.5844, allocations: 2.231 MB / 0.7872 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.5846, allocations: 9.938 kB / 0.7872 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.5846, allocations: 19.97 kB / 0.7873 GB, free: 13.88 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.000182/0.5848, allocations: 167.9 kB / 0.7874 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/0.5849, allocations: 55.12 kB / 0.7875 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008525/0.5857, allocations: 0.6395 MB / 0.7881 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5857, allocations: 5.344 kB / 0.7881 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.5857, allocations: 0 / 0.7881 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5857, allocations: 2.859 kB / 0.7881 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.5861, allocations: 428 kB / 0.7885 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5861, allocations: 0 / 0.7885 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.5863, allocations: 33.5 kB / 0.7885 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002757/0.5865, allocations: 129.8 kB / 0.7887 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.5866, allocations: 13.19 kB / 0.7887 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.5886, allocations: 2.226 MB / 0.7909 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5886, allocations: 7.406 kB / 0.7909 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008469/0.5895, allocations: 0.6411 MB / 0.7915 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.5895, allocations: 44.58 kB / 0.7915 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.5896, allocations: 8.156 kB / 0.7915 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.5898, allocations: 8.531 kB / 0.7915 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.5898, allocations: 24.67 kB / 0.7916 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.5898, allocations: 10.44 kB / 0.7916 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002681/0.5901, allocations: 319.4 kB / 0.7919 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5901, allocations: 2.594 kB / 0.7919 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004367/0.5905, allocations: 116.1 kB / 0.792 GB, free: 11.77 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.001295/0.5918, allocations: 1.261 MB / 0.7932 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008075/0.5926, allocations: 0.5005 MB / 0.7937 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5926, allocations: 0 / 0.7937 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000526/0.5932, allocations: 347.6 kB / 0.794 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000569/0.5937, allocations: 122.9 kB / 0.7942 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/0.5986, allocations: 4.13 MB / 0.7982 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.599, allocations: 0.8379 MB / 0.799 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000227/0.5992, allocations: 99.06 kB / 0.7991 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.5994, allocations: 154.2 kB / 0.7993 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of SimCode: time 7.72e-07/0.5994, allocations: 0 / 0.7993 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/0.6354, allocations: 12.24 MB / 0.8112 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.78, allocations: 2.375 kB / 0.8112 GB, free: 4.762 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: 16.174215796985663]