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.001274/0.001274, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001483/0.001483, allocations: 217 kB / 23.04 MB, free: 5.074 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.354/1.354, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.7106/0.7106, allocations: 94.56 MB / 407.8 MB, free: 9.18 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.002355/0.002355, allocations: 81.2 kB / 0.5557 GB, free: 38.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1198, allocations: 73.06 MB / 0.6271 GB, free: 484 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.4778/0.5976, allocations: 147.6 MB / 0.7712 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002877/0.6005, allocations: 3.151 MB / 0.7743 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/0.6009, allocations: 37.38 kB / 0.7743 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006099/0.6015, allocations: 238 kB / 0.7746 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007562/0.6022, allocations: 386.2 kB / 0.7749 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000976/0.6032, allocations: 483.4 kB / 0.7754 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008124/0.604, allocations: 0.6904 MB / 0.7761 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.6042, allocations: 96.14 kB / 0.7762 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.6053, allocations: 0.4954 MB / 0.7766 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004171/0.6057, allocations: 302.4 kB / 0.7769 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.311e-05/0.6058, allocations: 25.28 kB / 0.777 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.6068, allocations: 0.5798 MB / 0.7775 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.6069, allocations: 77.06 kB / 0.7776 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.6071, allocations: 210.1 kB / 0.7778 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009212/0.608, allocations: 0.6921 MB / 0.7785 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.608, allocations: 4 kB / 0.7785 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.608, allocations: 0 / 0.7785 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.608, allocations: 1.469 kB / 0.7785 GB, free: 1.504 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.001168/0.6092, allocations: 0.7326 MB / 0.7792 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.6092, allocations: 8.656 kB / 0.7792 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.729e-05/0.6093, allocations: 9.141 kB / 0.7792 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.143e-05/0.6093, allocations: 64.48 kB / 0.7793 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.091e-05/0.6094, allocations: 61.61 kB / 0.7793 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006719/0.61, allocations: 404.1 kB / 0.7797 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.6101, allocations: 21.41 kB / 0.7797 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.183e-05/0.6101, allocations: 28.91 kB / 0.7798 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/0.6107, allocations: 327.8 kB / 0.7801 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.6107, allocations: 4.188 kB / 0.7801 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.6107, allocations: 10.75 kB / 0.7801 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.6107, allocations: 11.3 kB / 0.7801 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.6111, allocations: 196.3 kB / 0.7803 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.6128, allocations: 1.715 MB / 0.782 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.6132, allocations: 163 kB / 0.7821 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.6134, allocations: 73.48 kB / 0.7822 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000431/0.6138, allocations: 75.44 kB / 0.7823 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.6138, allocations: 39.94 kB / 0.7823 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.6138, allocations: 5.094 kB / 0.7823 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007729/0.6146, allocations: 271.4 kB / 0.7826 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.6147, allocations: 110.3 kB / 0.7827 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004041/0.6151, allocations: 447.1 kB / 0.7831 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.6151, allocations: 30.77 kB / 0.7831 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.6152, allocations: 249.7 kB / 0.7834 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.6153, allocations: 54.47 kB / 0.7834 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.374e-05/0.6153, allocations: 48.41 kB / 0.7835 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6155, allocations: 355.7 kB / 0.7838 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.6156, allocations: 53.86 kB / 0.7839 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.6158, allocations: 110.1 kB / 0.784 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.616, allocations: 180.2 kB / 0.7841 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.616, allocations: 1.375 kB / 0.7841 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004481/0.6165, allocations: 271.3 kB / 0.7844 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.6165, allocations: 9.625 kB / 0.7844 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6165, allocations: 2.75 kB / 0.7844 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001419/0.6167, allocations: 26.59 kB / 0.7844 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.6168, allocations: 48.52 kB / 0.7845 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009906/0.6178, allocations: 1.284 MB / 0.7857 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.618, allocations: 32.88 kB / 0.7858 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.618, allocations: 9.562 kB / 0.7858 GB, free: 12.93 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.0001548/0.6182, allocations: 153.6 kB / 0.7859 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.6183, allocations: 54.88 kB / 0.786 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005277/0.6188, allocations: 253.3 kB / 0.7862 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6188, allocations: 2.719 kB / 0.7862 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.6188, allocations: 1.938 kB / 0.7862 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.6188, allocations: 0 / 0.7862 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.6192, allocations: 326.5 kB / 0.7865 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6192, allocations: 0 / 0.7865 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.6194, allocations: 39.52 kB / 0.7866 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.178e-05/0.6195, allocations: 23.61 kB / 0.7866 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.6195, allocations: 8.016 kB / 0.7866 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.6205, allocations: 1.286 MB / 0.7878 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6205, allocations: 7.125 kB / 0.7879 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006248/0.6211, allocations: 453.5 kB / 0.7883 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/0.6212, allocations: 42.19 kB / 0.7883 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.6213, allocations: 6.656 kB / 0.7883 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.6214, allocations: 11.05 kB / 0.7883 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.6215, allocations: 11.86 kB / 0.7884 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.6215, allocations: 10.25 kB / 0.7884 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003131/0.6218, allocations: 311.8 kB / 0.7887 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6218, allocations: 4 kB / 0.7887 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004533/0.6223, allocations: 101.8 kB / 0.7888 GB, free: 10.94 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.001152/0.6234, allocations: 1.087 MB / 0.7898 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005583/0.624, allocations: 262.2 kB / 0.7901 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.624, allocations: 1.094 kB / 0.7901 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.6243, allocations: 193 kB / 0.7903 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006951/0.625, allocations: 109.8 kB / 0.7904 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/0.629, allocations: 3.561 MB / 0.7938 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.6294, allocations: 0.812 MB / 0.7946 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.6296, allocations: 58.86 kB / 0.7947 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.6297, allocations: 154 kB / 0.7948 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.6297, allocations: 0 / 0.7948 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/0.6662, allocations: 10.39 MB / 0.805 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.54, allocations: 6.812 kB / 0.805 GB, free: 5.469 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: 15.921010227990337]