Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.00177/0.00177, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002205/0.002205, allocations: 217.8 kB / 23.03 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.7402/0.7402, allocations: 94.62 MB / 407.8 MB, free: 8.934 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.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",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.002438/0.002438, allocations: 77.33 kB / 0.5557 GB, free: 38.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.123, allocations: 73.05 MB / 0.627 GB, free: 212 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1587/0.2817, allocations: 126.7 MB / 0.7508 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3149/0.5966, allocations: 2.853 MB / 0.7536 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008175/0.5974, allocations: 38.88 kB / 0.7536 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008843/0.5983, allocations: 214.8 kB / 0.7538 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.5994, allocations: 381 kB / 0.7542 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.6008, allocations: 469.8 kB / 0.7547 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.6019, allocations: 0.6906 MB / 0.7553 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.6021, allocations: 93.61 kB / 0.7554 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.6033, allocations: 0.5023 MB / 0.7559 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.6037, allocations: 295.4 kB / 0.7562 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.6038, allocations: 25.94 kB / 0.7562 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009448/0.6047, allocations: 470.9 kB / 0.7567 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.602e-05/0.6048, allocations: 71.17 kB / 0.7567 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.605, allocations: 173.3 kB / 0.7569 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.6061, allocations: 0.6774 MB / 0.7576 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6061, allocations: 0 / 0.7576 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6061, allocations: 0.9375 kB / 0.7576 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.6061, allocations: 0.9062 kB / 0.7576 GB, free: 3.219 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001532/0.6077, allocations: 0.7275 MB / 0.7583 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.6077, allocations: 11.12 kB / 0.7583 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.201e-05/0.6077, allocations: 8.469 kB / 0.7583 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.513e-05/0.6078, allocations: 63.59 kB / 0.7583 GB, free: 18.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.747e-05/0.6079, allocations: 55.27 kB / 0.7584 GB, free: 18.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007793/0.6087, allocations: 409.3 kB / 0.7588 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.6087, allocations: 20.06 kB / 0.7588 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.6087, allocations: 30.69 kB / 0.7588 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000528/0.6093, allocations: 329.3 kB / 0.7592 GB, free: 18.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.6093, allocations: 1.188 kB / 0.7592 GB, free: 18.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.6093, allocations: 11.05 kB / 0.7592 GB, free: 18.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.6093, allocations: 8.906 kB / 0.7592 GB, free: 18.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004469/0.6098, allocations: 200.5 kB / 0.7594 GB, free: 18.38 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.6114, allocations: 1.408 MB / 0.7607 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.6119, allocations: 167.9 kB / 0.7609 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.612, allocations: 68.78 kB / 0.761 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004663/0.6125, allocations: 77.08 kB / 0.761 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.6125, allocations: 37.47 kB / 0.7611 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.023e-06/0.6125, allocations: 3 kB / 0.7611 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.000815/0.6133, allocations: 276.5 kB / 0.7613 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.6134, allocations: 111.3 kB / 0.7614 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.6138, allocations: 443.9 kB / 0.7619 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.6139, allocations: 30.67 kB / 0.7619 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.614, allocations: 247.3 kB / 0.7621 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.6141, allocations: 61.27 kB / 0.7622 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.647e-05/0.6141, allocations: 45.83 kB / 0.7622 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.6143, allocations: 360.1 kB / 0.7626 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.6145, allocations: 59.19 kB / 0.7626 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.6146, allocations: 106.4 kB / 0.7627 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.6149, allocations: 174.6 kB / 0.7629 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6149, allocations: 2.625 kB / 0.7629 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004576/0.6154, allocations: 272.8 kB / 0.7632 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.6154, allocations: 5.781 kB / 0.7632 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6154, allocations: 3.781 kB / 0.7632 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001682/0.6156, allocations: 22.92 kB / 0.7632 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.6157, allocations: 50.81 kB / 0.7632 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.6168, allocations: 1.278 MB / 0.7645 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.617, allocations: 32.39 kB / 0.7645 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.617, allocations: 13.89 kB / 0.7645 GB, free: 15.05 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.0001644/0.6172, allocations: 151.3 kB / 0.7647 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-05/0.6173, allocations: 53.61 kB / 0.7647 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005921/0.6179, allocations: 252.3 kB / 0.765 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6179, allocations: 3.812 kB / 0.765 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.6179, allocations: 3.156 kB / 0.765 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.6179, allocations: 0.7031 kB / 0.765 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004849/0.6183, allocations: 314.6 kB / 0.7653 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6184, allocations: 0.7812 kB / 0.7653 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.6185, allocations: 33.88 kB / 0.7653 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/0.6186, allocations: 23.7 kB / 0.7653 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.6186, allocations: 5.75 kB / 0.7653 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.6197, allocations: 1.288 MB / 0.7666 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.6197, allocations: 7.969 kB / 0.7666 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007486/0.6205, allocations: 459.6 kB / 0.767 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.689e-05/0.6206, allocations: 43.38 kB / 0.7671 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.6206, allocations: 7.703 kB / 0.7671 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.6208, allocations: 13.2 kB / 0.7671 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.6209, allocations: 10.3 kB / 0.7671 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.6209, allocations: 7.719 kB / 0.7671 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000342/0.6212, allocations: 310.4 kB / 0.7674 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6212, allocations: 0 / 0.7674 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005677/0.6218, allocations: 96.67 kB / 0.7675 GB, free: 13.09 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.001377/0.6232, allocations: 1.085 MB / 0.7686 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006689/0.6239, allocations: 264.1 kB / 0.7688 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6239, allocations: 0.625 kB / 0.7688 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.6242, allocations: 186.8 kB / 0.769 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00082/0.625, allocations: 103.2 kB / 0.7691 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005326/0.6304, allocations: 3.56 MB / 0.7726 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.6306, allocations: 209.8 kB / 0.7728 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002104/0.6308, allocations: 58.44 kB / 0.7728 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.6309, allocations: 152.3 kB / 0.773 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of SimCode: time 7.81e-07/0.6309, allocations: 1.203 kB / 0.773 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/0.6663, allocations: 10.76 MB / 0.7835 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.91, allocations: 2.562 kB / 0.7835 GB, free: 9.02 MB / 0.5919 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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: 16.555351963965222]