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.001369/0.001369, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001498/0.001498, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.785 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.7543/0.7543, allocations: 100.9 MB / 413.3 MB, free: 2.852 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.002556/0.002556, allocations: 90.62 kB / 0.5646 GB, free: 35.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1241, allocations: 74.61 MB / 0.6374 GB, free: 5.949 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.4505/0.5746, allocations: 126.8 MB / 0.7613 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003665/0.5783, allocations: 2.869 MB / 0.7641 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005877/0.5789, allocations: 38.91 kB / 0.7641 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007576/0.5796, allocations: 217.3 kB / 0.7643 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.5807, allocations: 379 kB / 0.7647 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.5819, allocations: 464 kB / 0.7651 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000959/0.5829, allocations: 0.6873 MB / 0.7658 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.5831, allocations: 82.23 kB / 0.7659 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.5842, allocations: 0.5045 MB / 0.7664 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003565/0.5846, allocations: 281.2 kB / 0.7666 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.5846, allocations: 25.75 kB / 0.7666 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009368/0.5855, allocations: 462.5 kB / 0.7671 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.868e-05/0.5856, allocations: 77.31 kB / 0.7672 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.5858, allocations: 167.3 kB / 0.7673 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.5869, allocations: 0.6784 MB / 0.768 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.5869, allocations: 1.578 kB / 0.768 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5869, allocations: 0 / 0.768 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.5869, allocations: 0 / 0.768 GB, free: 3.34 MB / 0.5762 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.001329/0.5882, allocations: 0.7347 MB / 0.7687 GB, free: 18.87 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.5883, allocations: 11.53 kB / 0.7687 GB, free: 18.87 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8e-05/0.5883, allocations: 55.39 kB / 0.7688 GB, free: 18.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007713/0.5891, allocations: 407.8 kB / 0.7692 GB, free: 18.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.5891, allocations: 24.05 kB / 0.7692 GB, free: 18.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/0.5892, allocations: 25.94 kB / 0.7692 GB, free: 18.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.5897, allocations: 329.2 kB / 0.7695 GB, free: 18.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.5897, allocations: 2.25 kB / 0.7695 GB, free: 18.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.5897, allocations: 10.38 kB / 0.7695 GB, free: 18.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.5897, allocations: 10.62 kB / 0.7695 GB, free: 18.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/0.5901, allocations: 203 kB / 0.7697 GB, free: 18.52 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.5918, allocations: 1.344 MB / 0.771 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.5922, allocations: 167.9 kB / 0.7712 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.5924, allocations: 69.5 kB / 0.7713 GB, free: 17.51 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004324/0.5928, allocations: 72.14 kB / 0.7713 GB, free: 17.51 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.5928, allocations: 34.73 kB / 0.7714 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.904e-06/0.5928, allocations: 1.469 kB / 0.7714 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008116/0.5936, allocations: 283.4 kB / 0.7716 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/0.5937, allocations: 105.3 kB / 0.7717 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/0.5941, allocations: 385.2 kB / 0.7721 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.5942, allocations: 30.11 kB / 0.7721 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.5944, allocations: 260.5 kB / 0.7724 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.5944, allocations: 58.58 kB / 0.7724 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/0.5945, allocations: 47.31 kB / 0.7725 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.5947, allocations: 353 kB / 0.7728 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.5949, allocations: 54.2 kB / 0.7729 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.5951, allocations: 111.2 kB / 0.773 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.5954, allocations: 179.2 kB / 0.7732 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5954, allocations: 1.562 kB / 0.7732 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006091/0.5961, allocations: 260 kB / 0.7734 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.5961, allocations: 5.844 kB / 0.7734 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.5961, allocations: 4.531 kB / 0.7734 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/0.5963, allocations: 26.73 kB / 0.7734 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.5965, allocations: 51.05 kB / 0.7735 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.5977, allocations: 1.261 MB / 0.7747 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.5979, allocations: 31.55 kB / 0.7748 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.5979, allocations: 8.156 kB / 0.7748 GB, free: 15.26 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.0002151/0.5981, allocations: 156.8 kB / 0.7749 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.746e-05/0.5982, allocations: 39.64 kB / 0.775 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005893/0.5988, allocations: 254.4 kB / 0.7752 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5988, allocations: 1.406 kB / 0.7752 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.5988, allocations: 2.875 kB / 0.7752 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5988, allocations: 2.797 kB / 0.7752 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.5993, allocations: 267 kB / 0.7755 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.5993, allocations: 2.125 kB / 0.7755 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.5995, allocations: 35.3 kB / 0.7755 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.299e-05/0.5996, allocations: 24.33 kB / 0.7755 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.5996, allocations: 9.875 kB / 0.7755 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009329/0.6005, allocations: 1.265 MB / 0.7768 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6005, allocations: 1.281 kB / 0.7768 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/0.6011, allocations: 453.5 kB / 0.7772 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.6012, allocations: 33.02 kB / 0.7772 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.6012, allocations: 9.484 kB / 0.7772 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.6014, allocations: 11.36 kB / 0.7772 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.107e-05/0.6014, allocations: 22.59 kB / 0.7773 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.6014, allocations: 4.531 kB / 0.7773 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002658/0.6017, allocations: 266.7 kB / 0.7775 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6017, allocations: 1.75 kB / 0.7775 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005356/0.6022, allocations: 105.1 kB / 0.7776 GB, free: 13.35 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.0003078/0.6026, allocations: 199.8 kB / 0.7778 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005727/0.6031, allocations: 257.9 kB / 0.7781 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6031, allocations: 1.562 kB / 0.7781 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.6035, allocations: 188.9 kB / 0.7782 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005919/0.6041, allocations: 71.89 kB / 0.7783 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.6056, allocations: 0.8422 MB / 0.7791 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.6058, allocations: 206.5 kB / 0.7793 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001766/0.606, allocations: 50.69 kB / 0.7794 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.6061, allocations: 35.34 kB / 0.7794 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of SimCode: time 6.42e-07/0.6061, allocations: 0 / 0.7794 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of Templates: time 0.009801/0.6159, allocations: 4.914 MB / 0.7842 GB, free: 11.99 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: 5.9628971144557]