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.001744/0.001744, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002124/0.002124, allocations: 157.5 kB / 23.01 MB, free: 4.602 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.457/1.457, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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.743/0.743, allocations: 74.9 MB / 334.7 MB, free: 15.54 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: 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: 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.002592/0.002592, allocations: 89.48 kB / 496.4 MB, free: 29.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1339, allocations: 73.03 MB / 0.5561 GB, free: 15.58 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.165/0.2989, allocations: 126.8 MB / 0.6799 GB, free: 268 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0043/0.3032, allocations: 2.871 MB / 0.6827 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004544/0.3037, allocations: 35.62 kB / 0.6828 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007989/0.3045, allocations: 218.5 kB / 0.683 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.3055, allocations: 377.7 kB / 0.6833 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.3067, allocations: 462.3 kB / 0.6838 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008884/0.3076, allocations: 0.6962 MB / 0.6845 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.3078, allocations: 81.64 kB / 0.6845 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.309, allocations: 0.5057 MB / 0.685 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005007/0.3095, allocations: 282.7 kB / 0.6853 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.948e-05/0.3096, allocations: 24 kB / 0.6853 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.3106, allocations: 467.1 kB / 0.6858 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.3107, allocations: 71.64 kB / 0.6858 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.3109, allocations: 171 kB / 0.686 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.312, allocations: 0.6731 MB / 0.6867 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.312, allocations: 0 / 0.6867 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/0.312, allocations: 0 / 0.6867 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.312, allocations: 0 / 0.6867 GB, free: 9.348 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.001366/0.3133, allocations: 0.7341 MB / 0.6874 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.3134, allocations: 8.031 kB / 0.6874 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.3135, allocations: 56.61 kB / 0.6874 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008601/0.3144, allocations: 408.2 kB / 0.6878 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.3144, allocations: 17.03 kB / 0.6878 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.889e-05/0.3144, allocations: 36.31 kB / 0.6879 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005909/0.315, allocations: 325.8 kB / 0.6882 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.315, allocations: 4 kB / 0.6882 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.3151, allocations: 8 kB / 0.6882 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.3151, allocations: 8 kB / 0.6882 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004586/0.3155, allocations: 203.7 kB / 0.6884 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.3174, allocations: 1.346 MB / 0.6897 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.3179, allocations: 167.6 kB / 0.6899 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.3181, allocations: 70.64 kB / 0.6899 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004745/0.3185, allocations: 67.91 kB / 0.69 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.3186, allocations: 38.55 kB / 0.69 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.3186, allocations: 0 / 0.69 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008809/0.3195, allocations: 282 kB / 0.6903 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.3195, allocations: 102.8 kB / 0.6904 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/0.32, allocations: 378 kB / 0.6908 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.32, allocations: 33.7 kB / 0.6908 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.3202, allocations: 264.3 kB / 0.691 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/0.3203, allocations: 63.47 kB / 0.6911 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-05/0.3204, allocations: 41.7 kB / 0.6911 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3206, allocations: 350.8 kB / 0.6915 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.3207, allocations: 63.95 kB / 0.6915 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.3209, allocations: 111 kB / 0.6916 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.3213, allocations: 173.8 kB / 0.6918 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3213, allocations: 4 kB / 0.6918 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005575/0.3219, allocations: 265.9 kB / 0.6921 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3219, allocations: 8 kB / 0.6921 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3219, allocations: 0 / 0.6921 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.3221, allocations: 20.84 kB / 0.6921 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.3223, allocations: 48.11 kB / 0.6921 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.3234, allocations: 1.264 MB / 0.6934 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.3236, allocations: 27.83 kB / 0.6934 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.3236, allocations: 8 kB / 0.6934 GB, free: 1.992 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.0001775/0.3238, allocations: 153.9 kB / 0.6936 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.3239, allocations: 39.77 kB / 0.6936 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006357/0.3245, allocations: 260.6 kB / 0.6938 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3245, allocations: 4 kB / 0.6939 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3245, allocations: 0 / 0.6939 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3245, allocations: 4 kB / 0.6939 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.3249, allocations: 261.1 kB / 0.6941 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3249, allocations: 4 kB / 0.6941 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.3251, allocations: 31.97 kB / 0.6941 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.216e-05/0.3252, allocations: 24.84 kB / 0.6942 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3252, allocations: 3.938 kB / 0.6942 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2682/0.5935, allocations: 1.257 MB / 0.6954 GB, free: 141.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.5935, allocations: 0.9062 kB / 0.6954 GB, free: 141.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/0.5942, allocations: 450.4 kB / 0.6958 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.5943, allocations: 37.66 kB / 0.6959 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.5943, allocations: 7.344 kB / 0.6959 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.5945, allocations: 11.41 kB / 0.6959 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.5946, allocations: 23.23 kB / 0.6959 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.5946, allocations: 7.484 kB / 0.6959 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002901/0.5949, allocations: 266.3 kB / 0.6962 GB, free: 141.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5949, allocations: 0 / 0.6962 GB, free: 141.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005314/0.5954, allocations: 104.4 kB / 0.6963 GB, free: 141.2 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.0002783/0.5957, allocations: 199 kB / 0.6965 GB, free: 141.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005575/0.5963, allocations: 263.9 kB / 0.6967 GB, free: 141 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5963, allocations: 0 / 0.6967 GB, free: 141 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.5966, allocations: 188.5 kB / 0.6969 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.5971, allocations: 62.34 kB / 0.6969 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.5983, allocations: 0.8347 MB / 0.6978 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.5986, allocations: 211.9 kB / 0.698 GB, free: 140.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.5987, allocations: 50.34 kB / 0.698 GB, free: 140.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.5988, allocations: 33.77 kB / 0.698 GB, free: 140.4 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.5988, allocations: 0 / 0.698 GB, free: 140.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.01041/0.6092, allocations: 4.296 MB / 0.7022 GB, free: 139.8 MB / 0.5919 GB " [Timeout remaining time 659] 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 -s ida -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/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: 6.032534430967644]