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.001977/0.001977, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002412/0.002412, allocations: 218.8 kB / 22.25 MB, free: 5.121 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.988 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.8069/0.8069, allocations: 100.3 MB / 412.7 MB, free: 3.648 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.002785/0.002785, allocations: 88.36 kB / 0.5638 GB, free: 35.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1238, allocations: 74.46 MB / 0.6365 GB, free: 7.117 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.4765/0.6003, allocations: 147.6 MB / 0.7806 GB, free: 0 / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004154/0.6045, allocations: 3.171 MB / 0.7837 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004829/0.605, allocations: 35.03 kB / 0.7838 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007512/0.6057, allocations: 238 kB / 0.784 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009509/0.6067, allocations: 389 kB / 0.7844 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.6078, allocations: 479 kB / 0.7848 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000793/0.6086, allocations: 0.6881 MB / 0.7855 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.6088, allocations: 91.72 kB / 0.7856 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.61, allocations: 0.5041 MB / 0.7861 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004331/0.6104, allocations: 297.3 kB / 0.7863 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.488e-05/0.6105, allocations: 24.94 kB / 0.7864 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.6118, allocations: 0.5817 MB / 0.7869 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.12e-05/0.6119, allocations: 71.7 kB / 0.787 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.6121, allocations: 214 kB / 0.7872 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.6133, allocations: 0.6934 MB / 0.7879 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.6133, allocations: 0 / 0.7879 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6133, allocations: 0 / 0.7879 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.495e-06/0.6133, allocations: 1.281 kB / 0.7879 GB, free: 15.1 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.001353/0.6147, allocations: 0.7302 MB / 0.7886 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.6147, allocations: 10.94 kB / 0.7886 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.786e-05/0.6148, allocations: 60.92 kB / 0.7887 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007888/0.6156, allocations: 409 kB / 0.7891 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.6156, allocations: 19.19 kB / 0.7891 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.6157, allocations: 27.16 kB / 0.7891 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.6162, allocations: 326.8 kB / 0.7894 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.6162, allocations: 0 / 0.7894 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.6162, allocations: 17.72 kB / 0.7894 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.6163, allocations: 11.06 kB / 0.7894 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003885/0.6166, allocations: 197.3 kB / 0.7896 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.6186, allocations: 1.717 MB / 0.7913 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.619, allocations: 168.5 kB / 0.7915 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.6192, allocations: 62.81 kB / 0.7915 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/0.6196, allocations: 75.8 kB / 0.7916 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.6197, allocations: 41.17 kB / 0.7916 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.664e-06/0.6197, allocations: 0 / 0.7916 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008265/0.6205, allocations: 280 kB / 0.7919 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/0.6206, allocations: 108.8 kB / 0.792 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/0.621, allocations: 441.3 kB / 0.7924 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.6211, allocations: 30.77 kB / 0.7925 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.6212, allocations: 252.3 kB / 0.7927 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.6213, allocations: 49.92 kB / 0.7927 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.6214, allocations: 47.05 kB / 0.7928 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.6215, allocations: 362.2 kB / 0.7931 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.6217, allocations: 53.69 kB / 0.7932 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.6219, allocations: 112 kB / 0.7933 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.6222, allocations: 174.6 kB / 0.7935 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6222, allocations: 4.422 kB / 0.7935 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004909/0.6227, allocations: 272.8 kB / 0.7937 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.6227, allocations: 8.531 kB / 0.7937 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6227, allocations: 0 / 0.7937 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/0.6229, allocations: 23.14 kB / 0.7938 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.6231, allocations: 59.44 kB / 0.7938 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.6242, allocations: 1.289 MB / 0.7951 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.6244, allocations: 27.62 kB / 0.7951 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.6244, allocations: 11.53 kB / 0.7951 GB, free: 10.49 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.0001664/0.6245, allocations: 153.4 kB / 0.7953 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.6246, allocations: 48.7 kB / 0.7953 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005417/0.6252, allocations: 254.4 kB / 0.7955 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.6252, allocations: 4.469 kB / 0.7956 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.6252, allocations: 1.344 kB / 0.7956 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6252, allocations: 0 / 0.7956 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/0.6257, allocations: 323.2 kB / 0.7959 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6257, allocations: 11.56 kB / 0.7959 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.6258, allocations: 30 kB / 0.7959 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.999e-05/0.6259, allocations: 26.11 kB / 0.7959 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.6259, allocations: 8.812 kB / 0.7959 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.627, allocations: 1.287 MB / 0.7972 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.627, allocations: 1.094 kB / 0.7972 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006165/0.6276, allocations: 460.1 kB / 0.7976 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/0.6277, allocations: 42.28 kB / 0.7977 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.6277, allocations: 6.828 kB / 0.7977 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.6279, allocations: 21.02 kB / 0.7977 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.628, allocations: 20.19 kB / 0.7977 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.628, allocations: 8.219 kB / 0.7977 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003139/0.6283, allocations: 307.9 kB / 0.798 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6283, allocations: 1.203 kB / 0.798 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005619/0.6289, allocations: 97.89 kB / 0.7981 GB, free: 8.457 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.0003001/0.6292, allocations: 198.3 kB / 0.7983 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005616/0.6297, allocations: 263.8 kB / 0.7986 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6297, allocations: 0 / 0.7986 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.6301, allocations: 186 kB / 0.7987 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007461/0.6308, allocations: 96.38 kB / 0.7988 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.6322, allocations: 0.8518 MB / 0.7997 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.6327, allocations: 0.8146 MB / 0.8005 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001647/0.6328, allocations: 58.33 kB / 0.8005 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.6329, allocations: 39.12 kB / 0.8005 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.6329, allocations: 0 / 0.8005 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of Templates: time 0.01117/0.6441, allocations: 5.467 MB / 0.8059 GB, free: 5.5 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/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.249790878035128]