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.001895/0.001895, allocations: 84.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.00237/0.00237, allocations: 157.7 kB / 22.76 MB, free: 1.68 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.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.03/1.03, allocations: 118.7 MB / 378.2 MB, free: 1.465 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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: 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_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_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 482.9 MB, free: 8.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.737e-05, allocations: 10.19 kB / 482.9 MB, free: 8.305 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1941/0.1941, allocations: 127 MB / 0.5956 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004755/0.1989, allocations: 2.914 MB / 0.5985 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004721/0.1993, allocations: 39.62 kB / 0.5985 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008027/0.2001, allocations: 218.4 kB / 0.5987 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.2012, allocations: 429 kB / 0.5991 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.2025, allocations: 473.9 kB / 0.5996 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009944/0.2035, allocations: 0.758 MB / 0.6003 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.2037, allocations: 81.69 kB / 0.6004 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.2051, allocations: 0.6265 MB / 0.601 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000475/0.2055, allocations: 275.3 kB / 0.6013 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.2056, allocations: 24 kB / 0.6013 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.2068, allocations: 467 kB / 0.6017 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.2069, allocations: 79.55 kB / 0.6018 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.2071, allocations: 143.6 kB / 0.602 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.2082, allocations: 0.6891 MB / 0.6026 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.2082, allocations: 4 kB / 0.6026 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2082, allocations: 0 / 0.6026 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.2082, allocations: 0 / 0.6026 GB, free: 10.41 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.001342/0.2096, allocations: 0.7456 MB / 0.6034 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2096, allocations: 8.031 kB / 0.6034 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.2098, allocations: 80.56 kB / 0.6035 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008037/0.2106, allocations: 451.4 kB / 0.6039 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.2106, allocations: 21.03 kB / 0.6039 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.65e-05/0.2107, allocations: 28.38 kB / 0.6039 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005894/0.2112, allocations: 322.7 kB / 0.6042 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.2113, allocations: 11.88 kB / 0.6042 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.2113, allocations: 8 kB / 0.6043 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2113, allocations: 8 kB / 0.6043 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005801/0.2119, allocations: 203.7 kB / 0.6045 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.2138, allocations: 1.365 MB / 0.6058 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.2143, allocations: 163.6 kB / 0.6059 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.2145, allocations: 70.62 kB / 0.606 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005156/0.215, allocations: 75.91 kB / 0.6061 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.2151, allocations: 34.56 kB / 0.6061 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.2151, allocations: 0 / 0.6061 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0009418/0.216, allocations: 290 kB / 0.6064 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/0.2161, allocations: 102.8 kB / 0.6065 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005431/0.2166, allocations: 401.9 kB / 0.6069 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.2167, allocations: 25.7 kB / 0.6069 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.2169, allocations: 268.7 kB / 0.6072 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.425e-05/0.217, allocations: 59.45 kB / 0.6072 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.443e-05/0.2171, allocations: 41.72 kB / 0.6073 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002232/0.2173, allocations: 362.7 kB / 0.6076 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.2175, allocations: 51.97 kB / 0.6077 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.2177, allocations: 113.9 kB / 0.6078 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.2181, allocations: 169.9 kB / 0.6079 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.2181, allocations: 0 / 0.6079 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006356/0.2187, allocations: 282 kB / 0.6082 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.2187, allocations: 4 kB / 0.6082 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2188, allocations: 0 / 0.6082 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/0.2189, allocations: 24.84 kB / 0.6082 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.2192, allocations: 51.91 kB / 0.6083 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.2205, allocations: 1.268 MB / 0.6095 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.2206, allocations: 19.86 kB / 0.6095 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.2207, allocations: 15.98 kB / 0.6095 GB, free: 2.914 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.0001935/0.2209, allocations: 149.8 kB / 0.6097 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.221, allocations: 51.88 kB / 0.6097 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006856/0.2217, allocations: 249.5 kB / 0.61 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2217, allocations: 4 kB / 0.61 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2217, allocations: 8.062 kB / 0.61 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2217, allocations: 0 / 0.61 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.2221, allocations: 269.1 kB / 0.6102 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2221, allocations: 4 kB / 0.6102 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.2223, allocations: 39.92 kB / 0.6103 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/0.2225, allocations: 16.84 kB / 0.6103 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.2225, allocations: 8 kB / 0.6103 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.2239, allocations: 1.264 MB / 0.6115 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2239, allocations: 0 / 0.6115 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008029/0.2247, allocations: 460.1 kB / 0.612 GB, free: 248 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.2248, allocations: 55.67 kB / 0.612 GB, free: 192 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.2248, allocations: 8 kB / 0.612 GB, free: 184 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.225, allocations: 7.984 kB / 0.612 GB, free: 176 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.2251, allocations: 16.08 kB / 0.6121 GB, free: 160 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.2251, allocations: 8 kB / 0.6121 GB, free: 152 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003868/0.2255, allocations: 282.9 kB / 0.6123 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.2255, allocations: 3.938 kB / 0.6123 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005243/0.226, allocations: 111.7 kB / 0.6124 GB, free: 15.76 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.0003811/0.2264, allocations: 198.9 kB / 0.6126 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006669/0.2271, allocations: 263.8 kB / 0.6129 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2271, allocations: 4 kB / 0.6129 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004106/0.2275, allocations: 182.5 kB / 0.6131 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009202/0.2284, allocations: 136.7 kB / 0.6132 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.23, allocations: 0.7933 MB / 0.614 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.2303, allocations: 219.8 kB / 0.6142 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000186/0.2305, allocations: 57.17 kB / 0.6142 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.388e-05/0.2306, allocations: 40.48 kB / 0.6143 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of SimCode: time 9.02e-07/0.2306, allocations: 0 / 0.6143 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of Templates: time 0.01336/0.244, allocations: 5.737 MB / 0.6199 GB, free: 8.23 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (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 & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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.129373171948828]