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.001556/0.001556, allocations: 125.7 kB / 17.17 MB, free: 5.918 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.00206/0.00206, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.67/0.67, allocations: 100.3 MB / 409.8 MB, free: 5.406 MB / 334.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_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.002681/0.002681, allocations: 83.88 kB / 0.5589 GB, free: 13.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3928, allocations: 74.43 MB / 0.6316 GB, free: 2.422 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1823/0.5751, allocations: 147.5 MB / 0.7756 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00494/0.58, allocations: 3.151 MB / 0.7786 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006959/0.5807, allocations: 35.69 kB / 0.7787 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009764/0.5817, allocations: 234.4 kB / 0.7789 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.5831, allocations: 389.6 kB / 0.7793 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.5846, allocations: 450.3 kB / 0.7797 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.5857, allocations: 0.6767 MB / 0.7804 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.586, allocations: 90.98 kB / 0.7804 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.5874, allocations: 0.5018 MB / 0.7809 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005332/0.5879, allocations: 298.7 kB / 0.7812 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.08e-05/0.588, allocations: 24 kB / 0.7812 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.5893, allocations: 0.5653 MB / 0.7818 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.5895, allocations: 71.59 kB / 0.7819 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002885/0.5897, allocations: 218.7 kB / 0.7821 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.5912, allocations: 0.6925 MB / 0.7827 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5912, allocations: 4 kB / 0.7828 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5912, allocations: 0 / 0.7828 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.409e-05/0.5912, allocations: 0 / 0.7828 GB, free: 8.121 MB / 0.6075 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.001676/0.5929, allocations: 0.8054 MB / 0.7835 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.5929, allocations: 8.031 kB / 0.7835 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.638e-05/0.593, allocations: 12.75 kB / 0.7836 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.781e-05/0.5931, allocations: 58.73 kB / 0.7836 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.5932, allocations: 68.55 kB / 0.7837 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009218/0.5941, allocations: 474.2 kB / 0.7841 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.5941, allocations: 24.88 kB / 0.7842 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.5942, allocations: 32.12 kB / 0.7842 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007186/0.5949, allocations: 316.5 kB / 0.7845 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.5949, allocations: 4 kB / 0.7845 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.595, allocations: 8 kB / 0.7845 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.595, allocations: 8 kB / 0.7845 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000523/0.5955, allocations: 195.8 kB / 0.7847 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.598, allocations: 1.777 MB / 0.7864 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/0.5985, allocations: 159.7 kB / 0.7866 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.5987, allocations: 74.58 kB / 0.7867 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007815/0.5995, allocations: 0.5181 MB / 0.7872 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.5995, allocations: 38.5 kB / 0.7872 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.5995, allocations: 7.938 kB / 0.7872 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.00101/0.6005, allocations: 359.6 kB / 0.7875 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.088e-05/0.6006, allocations: 110.7 kB / 0.7877 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005479/0.6012, allocations: 446.1 kB / 0.7881 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.6012, allocations: 29.7 kB / 0.7881 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.6014, allocations: 248.2 kB / 0.7883 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.139e-05/0.6015, allocations: 55.53 kB / 0.7884 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.6016, allocations: 49.66 kB / 0.7884 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002156/0.6018, allocations: 362.7 kB / 0.7888 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.602, allocations: 51.97 kB / 0.7888 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.6022, allocations: 113.8 kB / 0.7889 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.6026, allocations: 181.8 kB / 0.7891 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.6026, allocations: 0 / 0.7891 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006473/0.6032, allocations: 262.1 kB / 0.7894 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.6032, allocations: 8.125 kB / 0.7894 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.6032, allocations: 4 kB / 0.7894 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/0.6034, allocations: 20.84 kB / 0.7894 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.6036, allocations: 51.91 kB / 0.7895 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.605, allocations: 1.386 MB / 0.7908 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.6052, allocations: 27.86 kB / 0.7908 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.6052, allocations: 12.39 kB / 0.7908 GB, free: 15.11 MB / 0.6231 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.0002061/0.6054, allocations: 157.8 kB / 0.791 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.6055, allocations: 51.61 kB / 0.791 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006611/0.6062, allocations: 250.7 kB / 0.7913 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.6062, allocations: 4 kB / 0.7913 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6062, allocations: 0 / 0.7913 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.6062, allocations: 7.922 kB / 0.7913 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.6068, allocations: 353.3 kB / 0.7916 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6068, allocations: 0 / 0.7916 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.607, allocations: 35.98 kB / 0.7917 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.6071, allocations: 20.83 kB / 0.7917 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.6071, allocations: 12 kB / 0.7917 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.6084, allocations: 1.394 MB / 0.7931 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6084, allocations: 0 / 0.7931 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007459/0.6092, allocations: 452.2 kB / 0.7935 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.6093, allocations: 124.8 kB / 0.7936 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.6094, allocations: 7.938 kB / 0.7936 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.6096, allocations: 11.98 kB / 0.7936 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.6096, allocations: 11.98 kB / 0.7936 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.6096, allocations: 7.938 kB / 0.7936 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004183/0.6101, allocations: 310.9 kB / 0.7939 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.6101, allocations: 4 kB / 0.7939 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005602/0.6106, allocations: 107.8 kB / 0.794 GB, free: 11.57 MB / 0.6231 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.001478/0.6121, allocations: 1.082 MB / 0.7951 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007001/0.6128, allocations: 258.5 kB / 0.7954 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6128, allocations: 0 / 0.7954 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003708/0.6132, allocations: 190.8 kB / 0.7955 GB, free: 10 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007454/0.6139, allocations: 102.7 kB / 0.7956 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005597/0.6195, allocations: 3.571 MB / 0.7991 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/0.6201, allocations: 0.8152 MB / 0.7999 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002339/0.6203, allocations: 58.88 kB / 0.8 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.6206, allocations: 159.4 kB / 0.8001 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of SimCode: time 1.573e-06/0.6206, allocations: 0 / 0.8001 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03819/0.6588, allocations: 10.25 MB / 0.8101 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.41, allocations: 18.98 kB / 0.8102 GB, free: 11.12 MB / 0.6387 GB " [Timeout remaining time 648] (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: 15.002853073005099]