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.001904/0.001904, 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.001426/0.001426, allocations: 220.6 kB / 23 MB, free: 4.918 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 7.836 MB / 206.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.7231/0.7231, allocations: 94.63 MB / 407.8 MB, free: 8.918 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.002551/0.002551, allocations: 87.05 kB / 0.5562 GB, free: 38.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1114, allocations: 73.05 MB / 0.6275 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1599/0.2713, allocations: 126.8 MB / 0.7514 GB, free: 384 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.29/0.5613, allocations: 2.851 MB / 0.7542 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004224/0.5617, allocations: 39.69 kB / 0.7542 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006639/0.5624, allocations: 219.4 kB / 0.7544 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009094/0.5633, allocations: 376.6 kB / 0.7548 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.5645, allocations: 465.9 kB / 0.7552 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007475/0.5652, allocations: 0.6896 MB / 0.7559 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.5654, allocations: 85.23 kB / 0.756 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009487/0.5664, allocations: 0.5026 MB / 0.7565 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.5667, allocations: 278.3 kB / 0.7567 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.87e-05/0.5668, allocations: 27.3 kB / 0.7567 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008871/0.5677, allocations: 460.8 kB / 0.7572 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.784e-05/0.5677, allocations: 74.61 kB / 0.7573 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.5679, allocations: 170.8 kB / 0.7574 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009087/0.5688, allocations: 0.6779 MB / 0.7581 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5688, allocations: 0.9375 kB / 0.7581 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5688, allocations: 0.9688 kB / 0.7581 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.5688, allocations: 0.8125 kB / 0.7581 GB, free: 3.5 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.001348/0.5702, allocations: 0.7271 MB / 0.7588 GB, free: 19.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.5702, allocations: 10.7 kB / 0.7588 GB, free: 19.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.128e-05/0.5703, allocations: 56.72 kB / 0.7589 GB, free: 19.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/0.5711, allocations: 412.1 kB / 0.7592 GB, free: 18.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.5711, allocations: 22.59 kB / 0.7593 GB, free: 18.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.5712, allocations: 25.05 kB / 0.7593 GB, free: 18.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/0.5716, allocations: 331 kB / 0.7596 GB, free: 18.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.5717, allocations: 2.719 kB / 0.7596 GB, free: 18.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.5717, allocations: 10.61 kB / 0.7596 GB, free: 18.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.5717, allocations: 8.828 kB / 0.7596 GB, free: 18.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003603/0.572, allocations: 201.5 kB / 0.7598 GB, free: 18.7 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.5735, allocations: 1.345 MB / 0.7611 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.5739, allocations: 161.1 kB / 0.7613 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.5741, allocations: 65.97 kB / 0.7614 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004528/0.5745, allocations: 80.28 kB / 0.7614 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.5745, allocations: 34.16 kB / 0.7615 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.5745, allocations: 0.75 kB / 0.7615 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007385/0.5753, allocations: 283 kB / 0.7617 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.5753, allocations: 106.3 kB / 0.7618 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.5757, allocations: 381.2 kB / 0.7622 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.5757, allocations: 30.3 kB / 0.7622 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.5758, allocations: 262.8 kB / 0.7625 GB, free: 17.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.5759, allocations: 59.84 kB / 0.7625 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.5759, allocations: 43.48 kB / 0.7626 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.5761, allocations: 354.4 kB / 0.7629 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.5762, allocations: 56.56 kB / 0.763 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.5764, allocations: 107.6 kB / 0.7631 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.5766, allocations: 183.2 kB / 0.7632 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5767, allocations: 2.156 kB / 0.7632 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004376/0.5771, allocations: 264.6 kB / 0.7635 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5771, allocations: 9.562 kB / 0.7635 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.5771, allocations: 0 / 0.7635 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001477/0.5773, allocations: 23.67 kB / 0.7635 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.5774, allocations: 53.42 kB / 0.7636 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009858/0.5784, allocations: 1.258 MB / 0.7648 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.5786, allocations: 33.23 kB / 0.7648 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.5786, allocations: 6.656 kB / 0.7648 GB, free: 15.44 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.0001582/0.5788, allocations: 147.5 kB / 0.765 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-05/0.5788, allocations: 46.75 kB / 0.765 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.5794, allocations: 250.8 kB / 0.7653 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5794, allocations: 3.688 kB / 0.7653 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.5794, allocations: 4.156 kB / 0.7653 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5794, allocations: 0.6094 kB / 0.7653 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.5797, allocations: 266.9 kB / 0.7655 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5797, allocations: 0 / 0.7655 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.5799, allocations: 35.14 kB / 0.7656 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.741e-05/0.58, allocations: 25.8 kB / 0.7656 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.58, allocations: 10.3 kB / 0.7656 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008875/0.5809, allocations: 1.265 MB / 0.7668 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5809, allocations: 6.078 kB / 0.7668 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005584/0.5814, allocations: 451 kB / 0.7673 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.5815, allocations: 36.28 kB / 0.7673 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.5815, allocations: 7.969 kB / 0.7673 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.5817, allocations: 7.312 kB / 0.7673 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.5817, allocations: 19.22 kB / 0.7673 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.5817, allocations: 3.984 kB / 0.7673 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002508/0.582, allocations: 270.9 kB / 0.7676 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.582, allocations: 2.078 kB / 0.7676 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004961/0.5825, allocations: 105.4 kB / 0.7677 GB, free: 13.55 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.0002896/0.5828, allocations: 198.9 kB / 0.7679 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005444/0.5833, allocations: 265.4 kB / 0.7681 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5833, allocations: 0.9688 kB / 0.7681 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.5836, allocations: 187.3 kB / 0.7683 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.5842, allocations: 65.14 kB / 0.7684 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.5856, allocations: 0.8763 MB / 0.7692 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.5859, allocations: 208.2 kB / 0.7694 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.418e-05/0.586, allocations: 34.28 kB / 0.7695 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.586, allocations: 5.594 kB / 0.7695 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of Templates: time 0.01045/0.5964, allocations: 7.486 MB / 0.7768 GB, free: 12.02 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 -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: 8.581965721212327]