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.001471/0.001471, allocations: 79.5 kB / 19.76 MB, free: 1.898 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.001785/0.001785, allocations: 163.7 kB / 23.01 MB, free: 4.578 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.388/1.388, allocations: 177.2 MB / 203.4 MB, free: 9.273 MB / 190.1 MB " [Timeout remaining time 179] 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.7386/0.7386, allocations: 79.61 MB / 339.4 MB, free: 11.53 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.002741/0.002741, allocations: 84.53 kB / 0.4924 GB, free: 26.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1256, allocations: 74.59 MB / 0.5652 GB, free: 6.148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1638/0.2893, allocations: 126.8 MB / 0.689 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004328/0.2937, allocations: 2.883 MB / 0.6918 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00057/0.2942, allocations: 39.62 kB / 0.6918 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009343/0.2952, allocations: 214.5 kB / 0.692 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.2964, allocations: 373.7 kB / 0.6924 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.2977, allocations: 458.3 kB / 0.6928 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.2988, allocations: 0.6924 MB / 0.6935 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.2991, allocations: 85.62 kB / 0.6936 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.3006, allocations: 0.611 MB / 0.6942 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005049/0.3011, allocations: 282.7 kB / 0.6945 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.125e-05/0.3012, allocations: 24 kB / 0.6945 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.3023, allocations: 463.2 kB / 0.6949 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.3024, allocations: 79.58 kB / 0.695 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.3026, allocations: 171 kB / 0.6952 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.3248/0.6274, allocations: 0.6681 MB / 0.6958 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.6274, allocations: 3.938 kB / 0.6958 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6274, allocations: 0 / 0.6958 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.482e-05/0.6275, allocations: 1 kB / 0.6958 GB, free: 6.336 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.001312/0.6288, allocations: 0.7224 MB / 0.6965 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.6288, allocations: 10.78 kB / 0.6965 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.6289, allocations: 59.84 kB / 0.6966 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007687/0.6297, allocations: 408.5 kB / 0.697 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.6297, allocations: 19.09 kB / 0.697 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-05/0.6298, allocations: 26.41 kB / 0.697 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.6303, allocations: 326 kB / 0.6973 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.6303, allocations: 1.031 kB / 0.6973 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.6303, allocations: 12.28 kB / 0.6973 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.6304, allocations: 7.188 kB / 0.6974 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.6308, allocations: 202.9 kB / 0.6976 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.6326, allocations: 1.345 MB / 0.6989 GB, free: 20.63 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.6331, allocations: 165.6 kB / 0.699 GB, free: 20.56 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.6332, allocations: 70.53 kB / 0.6991 GB, free: 20.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004685/0.6337, allocations: 76.38 kB / 0.6992 GB, free: 20.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.6337, allocations: 35.16 kB / 0.6992 GB, free: 20.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 2.505e-06/0.6337, allocations: 0 / 0.6992 GB, free: 20.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0008507/0.6346, allocations: 281.2 kB / 0.6995 GB, free: 20.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.6346, allocations: 105.9 kB / 0.6996 GB, free: 20.31 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004353/0.6351, allocations: 383.1 kB / 0.6999 GB, free: 20.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.6351, allocations: 26.7 kB / 0.7 GB, free: 20.17 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.6352, allocations: 272.5 kB / 0.7002 GB, free: 20.04 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.6353, allocations: 56.28 kB / 0.7003 GB, free: 20 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/0.6353, allocations: 44.45 kB / 0.7003 GB, free: 19.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.6355, allocations: 350.9 kB / 0.7006 GB, free: 19.67 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.6357, allocations: 58.64 kB / 0.7007 GB, free: 19.67 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.6358, allocations: 109.9 kB / 0.7008 GB, free: 19.61 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.6362, allocations: 178.3 kB / 0.701 GB, free: 19.56 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6362, allocations: 3.938 kB / 0.701 GB, free: 19.56 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005348/0.6367, allocations: 265.7 kB / 0.7012 GB, free: 19.49 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6367, allocations: 9.375 kB / 0.7012 GB, free: 19.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6367, allocations: 1.875 kB / 0.7012 GB, free: 19.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/0.6369, allocations: 28.3 kB / 0.7013 GB, free: 19.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.6371, allocations: 47.59 kB / 0.7013 GB, free: 19.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.6383, allocations: 1.26 MB / 0.7025 GB, free: 18.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.6385, allocations: 21.83 kB / 0.7026 GB, free: 18.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.6385, allocations: 11.2 kB / 0.7026 GB, free: 18.29 MB / 0.6075 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.0002127/0.6387, allocations: 155.6 kB / 0.7027 GB, free: 18.17 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.6388, allocations: 49.91 kB / 0.7028 GB, free: 18.15 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005909/0.6394, allocations: 249.1 kB / 0.703 GB, free: 18.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.6394, allocations: 2.469 kB / 0.703 GB, free: 18.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.6394, allocations: 1.938 kB / 0.703 GB, free: 18.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6394, allocations: 2.047 kB / 0.703 GB, free: 18.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.6398, allocations: 261.4 kB / 0.7033 GB, free: 17.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.6398, allocations: 1.562 kB / 0.7033 GB, free: 17.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.64, allocations: 40.48 kB / 0.7033 GB, free: 17.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.824e-05/0.6401, allocations: 23.02 kB / 0.7033 GB, free: 17.95 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.6402, allocations: 9.547 kB / 0.7033 GB, free: 17.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.6412, allocations: 1.263 MB / 0.7046 GB, free: 16.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6412, allocations: 1.75 kB / 0.7046 GB, free: 16.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/0.6419, allocations: 451 kB / 0.705 GB, free: 16.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.642, allocations: 35.73 kB / 0.705 GB, free: 16.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.642, allocations: 6.438 kB / 0.705 GB, free: 16.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.6422, allocations: 8.062 kB / 0.7051 GB, free: 16.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.6422, allocations: 20.25 kB / 0.7051 GB, free: 16.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.6422, allocations: 7.719 kB / 0.7051 GB, free: 16.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002818/0.6425, allocations: 270.1 kB / 0.7053 GB, free: 16.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6425, allocations: 0 / 0.7053 GB, free: 16.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005078/0.643, allocations: 107.9 kB / 0.7054 GB, free: 16.39 MB / 0.6075 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.0003142/0.6433, allocations: 192.3 kB / 0.7056 GB, free: 16.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005919/0.6439, allocations: 259.7 kB / 0.7059 GB, free: 16.19 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6439, allocations: 0 / 0.7059 GB, free: 16.19 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.6443, allocations: 192 kB / 0.7061 GB, free: 16.08 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.6448, allocations: 66.03 kB / 0.7061 GB, free: 16.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.6461, allocations: 0.8384 MB / 0.7069 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.6463, allocations: 209.5 kB / 0.7071 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001708/0.6465, allocations: 52.77 kB / 0.7072 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.6466, allocations: 27.47 kB / 0.7072 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of SimCode: time 1.382e-06/0.6466, allocations: 0.9062 kB / 0.7072 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of Templates: time 0.0107/0.6573, allocations: 4.312 MB / 0.7114 GB, free: 15.16 MB / 0.6075 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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: 5.74648542329669]