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.001659/0.001659, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001996/0.001996, allocations: 216.4 kB / 22.26 MB, free: 5.113 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.588/1.588, allocations: 230.6 MB / 256 MB, free: 8.016 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.7661/0.7661, allocations: 94.55 MB / 407 MB, free: 9.156 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_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.002537/0.002537, allocations: 84.14 kB / 0.555 GB, free: 38.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1431, allocations: 73.05 MB / 0.6263 GB, free: 480 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.59/0.7331, allocations: 147.6 MB / 0.7704 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003505/0.7366, allocations: 3.164 MB / 0.7735 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006603/0.7373, allocations: 37.19 kB / 0.7736 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009395/0.7382, allocations: 237.2 kB / 0.7738 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.7394, allocations: 391.2 kB / 0.7742 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.7409, allocations: 482.3 kB / 0.7746 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.7422, allocations: 0.6929 MB / 0.7753 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.7424, allocations: 84.94 kB / 0.7754 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.7439, allocations: 0.5063 MB / 0.7759 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005955/0.7445, allocations: 292 kB / 0.7762 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.662e-05/0.7446, allocations: 25.44 kB / 0.7762 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.7461, allocations: 0.5834 MB / 0.7768 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.7462, allocations: 77.83 kB / 0.7768 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003025/0.7466, allocations: 211.6 kB / 0.777 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.7481, allocations: 0.6881 MB / 0.7777 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.7481, allocations: 4.594 kB / 0.7777 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.785e-06/0.7481, allocations: 0 / 0.7777 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.7481, allocations: 3.094 kB / 0.7777 GB, free: 1.902 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.001464/0.7496, allocations: 0.7327 MB / 0.7784 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.7496, allocations: 10.5 kB / 0.7784 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.899e-05/0.7497, allocations: 58.11 kB / 0.7785 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.456e-05/0.7498, allocations: 55.52 kB / 0.7785 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008771/0.7506, allocations: 412.2 kB / 0.7789 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.7507, allocations: 25.53 kB / 0.779 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.7507, allocations: 25.59 kB / 0.779 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005967/0.7513, allocations: 326.3 kB / 0.7793 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.7513, allocations: 3.781 kB / 0.7793 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.7514, allocations: 10.28 kB / 0.7793 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.7514, allocations: 6.719 kB / 0.7793 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/0.7519, allocations: 201.2 kB / 0.7795 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.7541, allocations: 1.717 MB / 0.7812 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/0.7546, allocations: 167.1 kB / 0.7813 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.7547, allocations: 65.45 kB / 0.7814 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005047/0.7552, allocations: 82.83 kB / 0.7815 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.7553, allocations: 38.81 kB / 0.7815 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.7553, allocations: 0 / 0.7815 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008316/0.7561, allocations: 276.5 kB / 0.7818 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.7562, allocations: 111.2 kB / 0.7819 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005124/0.7567, allocations: 442.5 kB / 0.7823 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.7567, allocations: 30.45 kB / 0.7823 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.7569, allocations: 250 kB / 0.7826 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.7569, allocations: 57.02 kB / 0.7826 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.962e-05/0.757, allocations: 46.92 kB / 0.7827 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.7572, allocations: 358.9 kB / 0.783 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.7573, allocations: 57.45 kB / 0.7831 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.7575, allocations: 108.2 kB / 0.7832 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.7577, allocations: 182.2 kB / 0.7834 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.7577, allocations: 5.25 kB / 0.7834 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005241/0.7583, allocations: 264.9 kB / 0.7836 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.7583, allocations: 9.156 kB / 0.7836 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.7583, allocations: 1.656 kB / 0.7836 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001458/0.7584, allocations: 23.22 kB / 0.7836 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.7586, allocations: 56.22 kB / 0.7837 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.7597, allocations: 1.28 MB / 0.7849 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.7599, allocations: 33.44 kB / 0.785 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.7599, allocations: 7.219 kB / 0.785 GB, free: 13.33 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.0002322/0.7602, allocations: 147.6 kB / 0.7851 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.7603, allocations: 52.73 kB / 0.7852 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.7609, allocations: 256.8 kB / 0.7854 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7609, allocations: 1.719 kB / 0.7854 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.7609, allocations: 1.344 kB / 0.7854 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.7609, allocations: 5.328 kB / 0.7854 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.7614, allocations: 334.1 kB / 0.7858 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7614, allocations: 4 kB / 0.7858 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.7616, allocations: 39.52 kB / 0.7858 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.7617, allocations: 22.58 kB / 0.7858 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.7617, allocations: 6.688 kB / 0.7858 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009985/0.7627, allocations: 1.286 MB / 0.7871 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7627, allocations: 4.812 kB / 0.7871 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/0.7633, allocations: 449.9 kB / 0.7875 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.7634, allocations: 46.33 kB / 0.7876 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.7635, allocations: 11.44 kB / 0.7876 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.7636, allocations: 12.69 kB / 0.7876 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.7637, allocations: 14.72 kB / 0.7876 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.7637, allocations: 4.875 kB / 0.7876 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003426/0.7641, allocations: 315.1 kB / 0.7879 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.7641, allocations: 0 / 0.7879 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005775/0.7646, allocations: 96.83 kB / 0.788 GB, free: 11.34 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.001159/0.7658, allocations: 1.09 MB / 0.7891 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006712/0.7665, allocations: 262.8 kB / 0.7893 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7665, allocations: 0 / 0.7893 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.7668, allocations: 186.6 kB / 0.7895 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008067/0.7676, allocations: 106.5 kB / 0.7896 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004393/0.772, allocations: 3.565 MB / 0.7931 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.7724, allocations: 0.8093 MB / 0.7939 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.7726, allocations: 58.62 kB / 0.7939 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.7727, allocations: 154.7 kB / 0.7941 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/0.7727, allocations: 3.094 kB / 0.7941 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04665/0.8194, allocations: 10.36 MB / 0.8042 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.77, allocations: 17.53 kB / 0.8042 GB, free: 5.887 MB / 0.5919 GB " [Timeout remaining time 645] (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: 18.643735543824732]