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.001421/0.001421, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001706/0.001706, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.491/1.491, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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 1.125/1.125, allocations: 118.6 MB / 378.2 MB, free: 1.469 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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: translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 482.9 MB, free: 8.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.086e-05, allocations: 7.578 kB / 482.9 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1899/0.1899, allocations: 127 MB / 0.5956 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005104/0.195, allocations: 2.91 MB / 0.5985 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005799/0.1956, allocations: 39.62 kB / 0.5985 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009102/0.1965, allocations: 226.3 kB / 0.5987 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.1977, allocations: 425.1 kB / 0.5991 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.1992, allocations: 473.9 kB / 0.5996 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001179/0.2004, allocations: 0.758 MB / 0.6003 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.2007, allocations: 89.67 kB / 0.6004 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.2022, allocations: 0.6188 MB / 0.601 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004644/0.2027, allocations: 275.2 kB / 0.6013 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.108e-05/0.2027, allocations: 28 kB / 0.6013 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.2038, allocations: 470.9 kB / 0.6018 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.2039, allocations: 71.62 kB / 0.6018 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.2041, allocations: 147.6 kB / 0.602 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.2053, allocations: 0.693 MB / 0.6026 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2053, allocations: 0 / 0.6026 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2053, allocations: 0 / 0.6026 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.2053, allocations: 0 / 0.6026 GB, free: 10.37 MB / 0.5261 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.001406/0.2067, allocations: 0.7534 MB / 0.6034 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.2068, allocations: 8.031 kB / 0.6034 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.2069, allocations: 84.56 kB / 0.6035 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008518/0.2078, allocations: 447.5 kB / 0.6039 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.2078, allocations: 21.03 kB / 0.6039 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.994e-05/0.2078, allocations: 24.38 kB / 0.6039 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006329/0.2085, allocations: 322.7 kB / 0.6042 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.2085, allocations: 7.875 kB / 0.6042 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.2085, allocations: 12 kB / 0.6043 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.2085, allocations: 8 kB / 0.6043 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/0.209, allocations: 203.7 kB / 0.6045 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.2111, allocations: 1.361 MB / 0.6058 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.2116, allocations: 163.7 kB / 0.6059 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.2118, allocations: 70.64 kB / 0.606 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005129/0.2123, allocations: 75.89 kB / 0.6061 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.2123, allocations: 34.56 kB / 0.6061 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.2123, allocations: 0 / 0.6061 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0009563/0.2133, allocations: 286 kB / 0.6064 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.2134, allocations: 107 kB / 0.6065 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/0.2139, allocations: 401.9 kB / 0.6069 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.2139, allocations: 25.7 kB / 0.6069 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.2142, allocations: 268.6 kB / 0.6072 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.2143, allocations: 59.48 kB / 0.6072 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.848e-05/0.2144, allocations: 53.56 kB / 0.6073 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.2146, allocations: 350.8 kB / 0.6076 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.2148, allocations: 55.97 kB / 0.6077 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.215, allocations: 111.5 kB / 0.6078 GB, free: 4.836 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.2154, allocations: 177.8 kB / 0.6079 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2154, allocations: 0 / 0.6079 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006019/0.216, allocations: 277.9 kB / 0.6082 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.216, allocations: 4 kB / 0.6082 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.216, allocations: 4 kB / 0.6082 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/0.2162, allocations: 28.97 kB / 0.6082 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.2164, allocations: 47.91 kB / 0.6083 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.2177, allocations: 1.261 MB / 0.6095 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.2179, allocations: 28.02 kB / 0.6095 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.2179, allocations: 12 kB / 0.6095 GB, free: 2.871 MB / 0.5261 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.0002035/0.2181, allocations: 153.8 kB / 0.6097 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.2182, allocations: 51.72 kB / 0.6097 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006658/0.2189, allocations: 242.8 kB / 0.61 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.2189, allocations: 3.984 kB / 0.61 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2189, allocations: 3.938 kB / 0.61 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2189, allocations: 4 kB / 0.61 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.2194, allocations: 265.1 kB / 0.6102 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2194, allocations: 0 / 0.6102 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.2195, allocations: 43.91 kB / 0.6103 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.2197, allocations: 20.84 kB / 0.6103 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.2197, allocations: 8 kB / 0.6103 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.2209, allocations: 1.26 MB / 0.6115 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2209, allocations: 0 / 0.6115 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008607/0.2217, allocations: 468 kB / 0.612 GB, free: 200 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.2218, allocations: 55.86 kB / 0.612 GB, free: 144 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.2219, allocations: 8 kB / 0.612 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.2221, allocations: 4 kB / 0.612 GB, free: 132 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.2221, allocations: 23.95 kB / 0.6121 GB, free: 108 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.2222, allocations: 4 kB / 0.6121 GB, free: 104 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003572/0.2225, allocations: 278.9 kB / 0.6123 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.2225, allocations: 0 / 0.6123 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005269/0.223, allocations: 119.7 kB / 0.6125 GB, free: 15.71 MB / 0.5417 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.000351/0.2234, allocations: 193.8 kB / 0.6126 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006315/0.224, allocations: 260.2 kB / 0.6129 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.224, allocations: 0 / 0.6129 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.2244, allocations: 186.5 kB / 0.6131 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008626/0.2252, allocations: 140.1 kB / 0.6132 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.2267, allocations: 0.7894 MB / 0.614 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.227, allocations: 215.8 kB / 0.6142 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001696/0.2272, allocations: 52.56 kB / 0.6142 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.709e-05/0.2272, allocations: 40.48 kB / 0.6143 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of SimCode: time 4.71e-07/0.2272, allocations: 0 / 0.6143 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of Templates: time 0.01321/0.2405, allocations: 5.74 MB / 0.6199 GB, free: 8.199 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (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 & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1200] 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/jenkins/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: 6.160636269953102]