Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.001971/0.001971, 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.002376/0.002376, allocations: 218.6 kB / 22.25 MB, free: 5.121 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.76/1.76, allocations: 230.6 MB / 256 MB, free: 7.953 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.9959/0.9959, allocations: 100.3 MB / 412.7 MB, free: 3.66 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.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",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.002814/0.002814, allocations: 94.5 kB / 0.5633 GB, free: 35.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1764, allocations: 74.45 MB / 0.636 GB, free: 7.652 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.6282/0.8046, allocations: 147.6 MB / 0.7801 GB, free: 48 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004625/0.8092, allocations: 3.161 MB / 0.7832 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000653/0.8099, allocations: 35.31 kB / 0.7832 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007012/0.8106, allocations: 238.7 kB / 0.7835 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.8116, allocations: 393.9 kB / 0.7838 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.8128, allocations: 473.5 kB / 0.7843 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007657/0.8135, allocations: 0.6988 MB / 0.785 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.8137, allocations: 93.98 kB / 0.7851 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.815, allocations: 0.4967 MB / 0.7856 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004202/0.8154, allocations: 298 kB / 0.7858 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.003e-05/0.8155, allocations: 25.31 kB / 0.7859 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.8168, allocations: 0.578 MB / 0.7864 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.8169, allocations: 71.36 kB / 0.7865 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002564/0.8172, allocations: 218.4 kB / 0.7867 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009467/0.8181, allocations: 0.69 MB / 0.7874 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.8181, allocations: 6.625 kB / 0.7874 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.72e-07/0.8181, allocations: 3.938 kB / 0.7874 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.8181, allocations: 1.562 kB / 0.7874 GB, free: 15.16 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001388/0.8195, allocations: 0.7252 MB / 0.7881 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.8195, allocations: 8.938 kB / 0.7881 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.745e-05/0.8196, allocations: 61.48 kB / 0.7882 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.339e-05/0.8197, allocations: 58.56 kB / 0.7882 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009355/0.8206, allocations: 406.4 kB / 0.7886 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.8206, allocations: 19.62 kB / 0.7886 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.8207, allocations: 35.16 kB / 0.7887 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005741/0.8213, allocations: 330.6 kB / 0.789 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.8213, allocations: 0 / 0.789 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.8213, allocations: 14.75 kB / 0.789 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.8213, allocations: 7 kB / 0.789 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.8217, allocations: 198.4 kB / 0.7892 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.8239, allocations: 1.721 MB / 0.7909 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.8244, allocations: 160.2 kB / 0.791 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.8246, allocations: 71.56 kB / 0.7911 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004415/0.8251, allocations: 70.92 kB / 0.7912 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.8251, allocations: 45.59 kB / 0.7912 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.8251, allocations: 0 / 0.7912 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007988/0.8259, allocations: 278.2 kB / 0.7915 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.8261, allocations: 104.9 kB / 0.7916 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/0.8266, allocations: 447.5 kB / 0.792 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.8266, allocations: 25.7 kB / 0.792 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.8268, allocations: 253.3 kB / 0.7923 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.8268, allocations: 57.91 kB / 0.7923 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/0.8269, allocations: 47.92 kB / 0.7924 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.8271, allocations: 357.6 kB / 0.7927 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.8272, allocations: 56.67 kB / 0.7928 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.8274, allocations: 113.9 kB / 0.7929 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.8277, allocations: 174 kB / 0.793 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.8277, allocations: 3.938 kB / 0.793 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006469/0.8283, allocations: 263.1 kB / 0.7933 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.8284, allocations: 5.875 kB / 0.7933 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.8284, allocations: 2.562 kB / 0.7933 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001752/0.8285, allocations: 27.31 kB / 0.7933 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.8287, allocations: 56.03 kB / 0.7934 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.8298, allocations: 1.285 MB / 0.7946 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.83, allocations: 33.84 kB / 0.7947 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.83, allocations: 6.719 kB / 0.7947 GB, free: 10.53 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 22 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002866/0.8303, allocations: 152.3 kB / 0.7948 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.8304, allocations: 53.11 kB / 0.7949 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005138/0.831, allocations: 245.2 kB / 0.7951 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.831, allocations: 5.562 kB / 0.7951 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.831, allocations: 2.5 kB / 0.7951 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.831, allocations: 4.219 kB / 0.7951 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.8314, allocations: 328.6 kB / 0.7954 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.8314, allocations: 2.594 kB / 0.7954 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.8315, allocations: 36.55 kB / 0.7955 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.249e-05/0.8316, allocations: 21.45 kB / 0.7955 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.8316, allocations: 7.438 kB / 0.7955 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.8327, allocations: 1.292 MB / 0.7967 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8327, allocations: 3.938 kB / 0.7968 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006014/0.8333, allocations: 469.6 kB / 0.7972 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/0.8334, allocations: 40.98 kB / 0.7972 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.8334, allocations: 10.11 kB / 0.7972 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.8336, allocations: 11.84 kB / 0.7973 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.8337, allocations: 15.53 kB / 0.7973 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.8337, allocations: 6.719 kB / 0.7973 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003039/0.834, allocations: 310 kB / 0.7976 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.834, allocations: 0 / 0.7976 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005835/0.8346, allocations: 103 kB / 0.7977 GB, free: 8.492 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001082/0.8357, allocations: 1.084 MB / 0.7987 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005522/0.8362, allocations: 258.4 kB / 0.799 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.8362, allocations: 0 / 0.799 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.8367, allocations: 185.1 kB / 0.7992 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/0.8374, allocations: 111.1 kB / 0.7993 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/0.8423, allocations: 3.562 MB / 0.8027 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.8427, allocations: 0.8128 MB / 0.8035 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.8429, allocations: 61.66 kB / 0.8036 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/0.8432, allocations: 156.2 kB / 0.8037 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.8432, allocations: 0 / 0.8037 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05099/0.8942, allocations: 10.37 MB / 0.8139 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.45, allocations: 1.203 kB / 0.8139 GB, free: 0.875 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.825104024959728]