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.001483/0.001483, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001637/0.001637, allocations: 221.9 kB / 23.01 MB, free: 4.609 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.352/1.352, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.7339/0.7339, allocations: 100.3 MB / 413.5 MB, free: 3.695 MB / 318.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: 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: 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.00241/0.00241, allocations: 85.64 kB / 0.5645 GB, free: 35.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1279, allocations: 74.47 MB / 0.6372 GB, free: 7.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.4566/0.5844, allocations: 147.6 MB / 0.7813 GB, free: 488 kB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.00437/0.5888, allocations: 3.157 MB / 0.7844 GB, free: 260 kB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000413/0.5892, allocations: 40.97 kB / 0.7845 GB, free: 236 kB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.5899, allocations: 236.9 kB / 0.7847 GB, free: 148 kB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0007404/0.5906, allocations: 393.2 kB / 0.7851 GB, free: 20 kB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.5916, allocations: 483 kB / 0.7855 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006773/0.5923, allocations: 0.6891 MB / 0.7862 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.5925, allocations: 86.33 kB / 0.7863 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.5935, allocations: 0.5033 MB / 0.7868 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/0.5939, allocations: 300.9 kB / 0.7871 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.179e-05/0.5939, allocations: 29.38 kB / 0.7871 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.5951, allocations: 0.5779 MB / 0.7877 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.153e-05/0.5951, allocations: 75.72 kB / 0.7877 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.5953, allocations: 215.1 kB / 0.7879 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009882/0.5963, allocations: 0.6891 MB / 0.7886 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5963, allocations: 4.438 kB / 0.7886 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5963, allocations: 4 kB / 0.7886 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.313e-05/0.5964, allocations: 1.094 kB / 0.7886 GB, free: 15.59 MB / 0.5919 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.001141/0.5975, allocations: 0.7222 MB / 0.7893 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.5975, allocations: 11.3 kB / 0.7893 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.048e-05/0.5976, allocations: 59.47 kB / 0.7894 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006986/0.5983, allocations: 406.7 kB / 0.7898 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.5983, allocations: 22.09 kB / 0.7898 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.5984, allocations: 29.31 kB / 0.7898 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004796/0.5989, allocations: 325.1 kB / 0.7901 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.5989, allocations: 1.406 kB / 0.7901 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.5989, allocations: 13.81 kB / 0.7901 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.5989, allocations: 7.375 kB / 0.7902 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003596/0.5993, allocations: 203.5 kB / 0.7903 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.601, allocations: 1.712 MB / 0.792 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.6014, allocations: 166.2 kB / 0.7922 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.6015, allocations: 65.81 kB / 0.7922 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004284/0.602, allocations: 79.11 kB / 0.7923 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.602, allocations: 41.78 kB / 0.7924 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.602, allocations: 1.203 kB / 0.7924 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007667/0.6028, allocations: 278.5 kB / 0.7926 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.6028, allocations: 109.6 kB / 0.7927 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.6032, allocations: 443.2 kB / 0.7931 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.6033, allocations: 29.98 kB / 0.7932 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.6034, allocations: 244.1 kB / 0.7934 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.6035, allocations: 56.89 kB / 0.7935 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.6035, allocations: 50.39 kB / 0.7935 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.6037, allocations: 358.1 kB / 0.7939 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.6038, allocations: 53.95 kB / 0.7939 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.604, allocations: 104.7 kB / 0.794 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.6043, allocations: 183.6 kB / 0.7942 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6043, allocations: 4 kB / 0.7942 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004583/0.6047, allocations: 270.2 kB / 0.7944 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.6048, allocations: 5.5 kB / 0.7944 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6048, allocations: 2.5 kB / 0.7944 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000147/0.6049, allocations: 31.91 kB / 0.7945 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.6051, allocations: 51.91 kB / 0.7945 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009793/0.6061, allocations: 1.281 MB / 0.7958 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.6062, allocations: 32.23 kB / 0.7958 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.6062, allocations: 12.03 kB / 0.7958 GB, free: 10.98 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.0001434/0.6064, allocations: 154.1 kB / 0.796 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.952e-05/0.6065, allocations: 49.33 kB / 0.796 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.607, allocations: 253.2 kB / 0.7963 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.607, allocations: 1.812 kB / 0.7963 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.607, allocations: 1.719 kB / 0.7963 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.607, allocations: 7.938 kB / 0.7963 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.6074, allocations: 325.4 kB / 0.7966 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6074, allocations: 10.06 kB / 0.7966 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.6075, allocations: 34.53 kB / 0.7966 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.423e-05/0.6076, allocations: 16.08 kB / 0.7966 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.6076, allocations: 9.781 kB / 0.7966 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009527/0.6086, allocations: 1.292 MB / 0.7979 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6086, allocations: 0 / 0.7979 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.6091, allocations: 458.8 kB / 0.7983 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.6092, allocations: 46.92 kB / 0.7984 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.6093, allocations: 11.58 kB / 0.7984 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.6094, allocations: 13.48 kB / 0.7984 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.6095, allocations: 15.41 kB / 0.7984 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.6095, allocations: 5.812 kB / 0.7984 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000282/0.6098, allocations: 312.9 kB / 0.7987 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6098, allocations: 0 / 0.7987 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004497/0.6102, allocations: 99.84 kB / 0.7988 GB, free: 8.953 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.0002827/0.6105, allocations: 193.8 kB / 0.799 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005162/0.611, allocations: 257.3 kB / 0.7993 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.611, allocations: 0 / 0.7993 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.6113, allocations: 186.9 kB / 0.7994 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006725/0.612, allocations: 118.3 kB / 0.7995 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.6133, allocations: 0.8747 MB / 0.8004 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.6137, allocations: 0.8109 MB / 0.8012 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.6138, allocations: 42.25 kB / 0.8012 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/0.6138, allocations: 0 / 0.8012 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of Templates: time 0.00987/0.6237, allocations: 7.805 MB / 0.8089 GB, free: 4.602 MB / 0.5919 GB " [Timeout remaining time 659] 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/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: 8.527187281986699]