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.0016/0.0016, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001767/0.001767, allocations: 219.4 kB / 22.99 MB, free: 4.914 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.7684/0.7684, allocations: 100.9 MB / 414.1 MB, free: 2.848 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.002549/0.002549, allocations: 86.33 kB / 0.5653 GB, free: 35.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1238, allocations: 74.6 MB / 0.6382 GB, free: 5.969 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.4611/0.5849, allocations: 126.8 MB / 0.762 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003204/0.5881, allocations: 2.871 MB / 0.7648 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003519/0.5885, allocations: 37.38 kB / 0.7648 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006266/0.5891, allocations: 217 kB / 0.765 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008013/0.5899, allocations: 378.4 kB / 0.7654 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.5909, allocations: 462.1 kB / 0.7659 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007168/0.5916, allocations: 0.6913 MB / 0.7665 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.5918, allocations: 81.7 kB / 0.7666 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009793/0.5928, allocations: 0.5049 MB / 0.7671 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003337/0.5932, allocations: 281.9 kB / 0.7674 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.479e-05/0.5932, allocations: 25.75 kB / 0.7674 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007884/0.594, allocations: 461.2 kB / 0.7678 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.683e-05/0.5941, allocations: 76.56 kB / 0.7679 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.5942, allocations: 172.3 kB / 0.7681 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008828/0.5951, allocations: 0.676 MB / 0.7687 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5951, allocations: 0.6562 kB / 0.7687 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.562e-06/0.5951, allocations: 1.984 kB / 0.7687 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.5951, allocations: 0 / 0.7687 GB, free: 3.297 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.001217/0.5964, allocations: 0.7278 MB / 0.7694 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.5964, allocations: 12.12 kB / 0.7695 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.991e-05/0.5965, allocations: 55.64 kB / 0.7695 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007363/0.5972, allocations: 412.9 kB / 0.7699 GB, free: 18.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.5972, allocations: 22.72 kB / 0.7699 GB, free: 18.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.5973, allocations: 24.28 kB / 0.7699 GB, free: 18.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.5978, allocations: 328.6 kB / 0.7703 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.5978, allocations: 3.594 kB / 0.7703 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.5978, allocations: 9.156 kB / 0.7703 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.5978, allocations: 7.297 kB / 0.7703 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.5982, allocations: 201.5 kB / 0.7705 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.5997, allocations: 1.345 MB / 0.7718 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.6001, allocations: 165.1 kB / 0.7719 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.6002, allocations: 73.17 kB / 0.772 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004262/0.6007, allocations: 75.78 kB / 0.7721 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.6007, allocations: 35.67 kB / 0.7721 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.094e-06/0.6007, allocations: 1.859 kB / 0.7721 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007503/0.6014, allocations: 280.9 kB / 0.7724 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.6015, allocations: 105.9 kB / 0.7725 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.6019, allocations: 380.9 kB / 0.7729 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.602, allocations: 35.3 kB / 0.7729 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.6021, allocations: 262 kB / 0.7731 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.6022, allocations: 56.03 kB / 0.7732 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.562e-05/0.6022, allocations: 46.23 kB / 0.7732 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.6024, allocations: 354.2 kB / 0.7736 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.6026, allocations: 55 kB / 0.7736 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.6028, allocations: 115.2 kB / 0.7737 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.6031, allocations: 178.2 kB / 0.7739 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6031, allocations: 1.625 kB / 0.7739 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005391/0.6036, allocations: 261.5 kB / 0.7742 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.6037, allocations: 10.73 kB / 0.7742 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6037, allocations: 2.656 kB / 0.7742 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/0.6038, allocations: 23.86 kB / 0.7742 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.604, allocations: 48.98 kB / 0.7742 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.6051, allocations: 1.261 MB / 0.7755 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.6053, allocations: 30.42 kB / 0.7755 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.6053, allocations: 10.62 kB / 0.7755 GB, free: 15.21 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.0001596/0.6054, allocations: 156.6 kB / 0.7757 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.022e-05/0.6055, allocations: 41.53 kB / 0.7757 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000541/0.6061, allocations: 250.3 kB / 0.7759 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.6061, allocations: 3.219 kB / 0.7759 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.6061, allocations: 1.875 kB / 0.7759 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6061, allocations: 4.094 kB / 0.7759 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.6065, allocations: 261.3 kB / 0.7762 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6065, allocations: 0.8125 kB / 0.7762 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.6066, allocations: 37.59 kB / 0.7762 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.977e-05/0.6067, allocations: 24.52 kB / 0.7763 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.6067, allocations: 3.719 kB / 0.7763 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009663/0.6077, allocations: 1.267 MB / 0.7775 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.6077, allocations: 4.062 kB / 0.7775 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.6083, allocations: 451.8 kB / 0.7779 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.6083, allocations: 34.05 kB / 0.778 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.6084, allocations: 9.969 kB / 0.778 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.6085, allocations: 8.844 kB / 0.778 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.6086, allocations: 18.19 kB / 0.778 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.6086, allocations: 10.8 kB / 0.778 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002545/0.6088, allocations: 267.5 kB / 0.7783 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6088, allocations: 1.031 kB / 0.7783 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004783/0.6093, allocations: 105.2 kB / 0.7784 GB, free: 13.31 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.000308/0.6096, allocations: 198.8 kB / 0.7786 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005251/0.6102, allocations: 263.8 kB / 0.7788 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6102, allocations: 1.203 kB / 0.7788 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.6105, allocations: 187.6 kB / 0.779 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.611, allocations: 63.55 kB / 0.779 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.6124, allocations: 0.876 MB / 0.7799 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.6126, allocations: 205.4 kB / 0.7801 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.6127, allocations: 35.72 kB / 0.7801 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.6127, allocations: 0 / 0.7801 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of Templates: time 0.008975/0.6217, allocations: 7.491 MB / 0.7874 GB, free: 11.71 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.688931532204151]