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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002078/0.002078, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.5948/0.5948, allocations: 90.29 MB / 394.8 MB, free: 3.844 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 87.86 kB / 0.5387 GB, free: 1.586 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4202, allocations: 70.82 MB / 0.6078 GB, free: 7.402 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.179/0.5992, allocations: 147.4 MB / 0.7518 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003998/0.6032, allocations: 3.107 MB / 0.7548 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.6035, allocations: 11.88 kB / 0.7548 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007316/0.6042, allocations: 226.5 kB / 0.755 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008605/0.6051, allocations: 337.9 kB / 0.7554 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.6063, allocations: 450.3 kB / 0.7558 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007829/0.607, allocations: 0.5795 MB / 0.7564 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.6073, allocations: 84.48 kB / 0.7564 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.6083, allocations: 442.1 kB / 0.7569 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.6087, allocations: 283 kB / 0.7571 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.6087, allocations: 24 kB / 0.7571 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.6099, allocations: 0.5653 MB / 0.7577 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.205e-05/0.6099, allocations: 63.7 kB / 0.7578 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.6101, allocations: 183.1 kB / 0.7579 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009179/0.611, allocations: 0.59 MB / 0.7585 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.611, allocations: 0 / 0.7585 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.344e-06/0.611, allocations: 0 / 0.7585 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.6111, allocations: 0 / 0.7585 GB, free: 0.5156 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.001164/0.6122, allocations: 0.6929 MB / 0.7592 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.6123, allocations: 15.97 kB / 0.7592 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.964e-05/0.6123, allocations: 44.66 kB / 0.7592 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.6127, allocations: 295.7 kB / 0.7595 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.6127, allocations: 20.94 kB / 0.7595 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.134e-05/0.6128, allocations: 24.38 kB / 0.7596 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005525/0.6133, allocations: 332.6 kB / 0.7599 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.6133, allocations: 3.938 kB / 0.7599 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.6134, allocations: 11.98 kB / 0.7599 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.6134, allocations: 8 kB / 0.7599 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004335/0.6138, allocations: 191.8 kB / 0.7601 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.6158, allocations: 1.738 MB / 0.7618 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.6162, allocations: 163.7 kB / 0.7619 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.6164, allocations: 74.62 kB / 0.762 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000721/0.6171, allocations: 0.5183 MB / 0.7625 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.6171, allocations: 38.5 kB / 0.7626 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.844e-06/0.6171, allocations: 4 kB / 0.7626 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008961/0.618, allocations: 347.2 kB / 0.7629 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/0.6181, allocations: 102.8 kB / 0.763 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.6184, allocations: 333.7 kB / 0.7633 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.6185, allocations: 25.7 kB / 0.7633 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.6186, allocations: 200.2 kB / 0.7635 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.6187, allocations: 55.47 kB / 0.7636 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.639e-05/0.6187, allocations: 49.64 kB / 0.7636 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.6189, allocations: 342.8 kB / 0.764 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.619, allocations: 55.97 kB / 0.764 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.6192, allocations: 113.9 kB / 0.7641 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.6196, allocations: 181.9 kB / 0.7643 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.6196, allocations: 3.938 kB / 0.7643 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005076/0.6201, allocations: 242.1 kB / 0.7645 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.6201, allocations: 8.125 kB / 0.7645 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6201, allocations: 4 kB / 0.7645 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.6203, allocations: 24.84 kB / 0.7646 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.6205, allocations: 52.28 kB / 0.7646 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.6216, allocations: 1.394 MB / 0.766 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.6218, allocations: 31.81 kB / 0.766 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.6218, allocations: 12 kB / 0.766 GB, free: 8.125 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.0001666/0.622, allocations: 153.1 kB / 0.7662 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-05/0.6221, allocations: 43.64 kB / 0.7662 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000588/0.6227, allocations: 245 kB / 0.7664 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.6227, allocations: 0 / 0.7664 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6227, allocations: 4 kB / 0.7664 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6227, allocations: 0 / 0.7664 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.6231, allocations: 317.4 kB / 0.7667 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.6231, allocations: 3.984 kB / 0.7667 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.6233, allocations: 35.92 kB / 0.7668 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.6234, allocations: 20.84 kB / 0.7668 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.6234, allocations: 12 kB / 0.7668 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.6246, allocations: 1.394 MB / 0.7682 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.6246, allocations: 3.938 kB / 0.7682 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.6252, allocations: 451.3 kB / 0.7686 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.922e-05/0.6253, allocations: 108.9 kB / 0.7687 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.6254, allocations: 3.938 kB / 0.7687 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.6255, allocations: 16.03 kB / 0.7687 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.6256, allocations: 7.984 kB / 0.7687 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.6256, allocations: 11.98 kB / 0.7687 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002547/0.6259, allocations: 235.1 kB / 0.769 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6259, allocations: 4 kB / 0.769 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004825/0.6264, allocations: 99.81 kB / 0.7691 GB, free: 4.742 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.0003254/0.6267, allocations: 190.5 kB / 0.7693 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006354/0.6273, allocations: 258.5 kB / 0.7695 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6273, allocations: 0 / 0.7695 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.6277, allocations: 190.8 kB / 0.7697 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007529/0.6284, allocations: 99.36 kB / 0.7698 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.6297, allocations: 0.7126 MB / 0.7705 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.6301, allocations: 0.779 MB / 0.7712 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001508/0.6302, allocations: 49.91 kB / 0.7713 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.6303, allocations: 19.44 kB / 0.7713 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.6303, allocations: 0 / 0.7713 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of Templates: time 0.01099/0.6413, allocations: 5.14 MB / 0.7763 GB, free: 13.28 MB / 0.6075 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/jenkins/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: 5.942785879597068]