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.001361/0.001361, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00156/0.00156, allocations: 217 kB / 22.26 MB, free: 5.117 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 8.016 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.8008/0.8008, allocations: 94.56 MB / 407 MB, free: 9.191 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.002653/0.002653, allocations: 91.39 kB / 0.5554 GB, free: 38.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.139, allocations: 73.04 MB / 0.6268 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.478/0.617, allocations: 147.6 MB / 0.7709 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003088/0.6201, allocations: 3.162 MB / 0.774 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000425/0.6205, allocations: 37.56 kB / 0.774 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000669/0.6212, allocations: 233.3 kB / 0.7743 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008223/0.622, allocations: 392.8 kB / 0.7746 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.623, allocations: 479.4 kB / 0.7751 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009329/0.624, allocations: 0.6939 MB / 0.7758 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.6242, allocations: 93.8 kB / 0.7759 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.6254, allocations: 0.4988 MB / 0.7764 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005523/0.6259, allocations: 294.2 kB / 0.7766 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.915e-05/0.626, allocations: 28.56 kB / 0.7767 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.6273, allocations: 0.582 MB / 0.7772 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.6e-05/0.6273, allocations: 76.62 kB / 0.7773 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.6276, allocations: 212.9 kB / 0.7775 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009512/0.6285, allocations: 0.6928 MB / 0.7782 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6285, allocations: 0 / 0.7782 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.532e-06/0.6285, allocations: 0 / 0.7782 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.6285, allocations: 1.219 kB / 0.7782 GB, free: 2.09 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.00131/0.6298, allocations: 0.735 MB / 0.7789 GB, free: 17.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.6299, allocations: 8.406 kB / 0.7789 GB, free: 17.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.528e-05/0.63, allocations: 56.3 kB / 0.779 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007187/0.6307, allocations: 410 kB / 0.7794 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.6307, allocations: 21.5 kB / 0.7794 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.6307, allocations: 28.09 kB / 0.7794 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.6312, allocations: 327 kB / 0.7797 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.6312, allocations: 0.5 kB / 0.7797 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.6313, allocations: 10.09 kB / 0.7797 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.6313, allocations: 6.875 kB / 0.7797 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.6317, allocations: 200.5 kB / 0.7799 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.6337, allocations: 1.713 MB / 0.7816 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.6341, allocations: 165.8 kB / 0.7818 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.6342, allocations: 72.25 kB / 0.7818 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004742/0.6347, allocations: 76.56 kB / 0.7819 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.6347, allocations: 44.06 kB / 0.7819 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.6347, allocations: 0 / 0.7819 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008379/0.6356, allocations: 281.7 kB / 0.7822 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.381e-05/0.6356, allocations: 104.6 kB / 0.7823 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004491/0.6361, allocations: 443.5 kB / 0.7827 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.6361, allocations: 30.45 kB / 0.7828 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.6363, allocations: 250 kB / 0.783 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.6363, allocations: 54.52 kB / 0.783 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.6364, allocations: 47.72 kB / 0.7831 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.6365, allocations: 355.6 kB / 0.7834 GB, free: 15 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.6367, allocations: 61.83 kB / 0.7835 GB, free: 15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.6368, allocations: 108 kB / 0.7836 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.6371, allocations: 177.4 kB / 0.7838 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6371, allocations: 0 / 0.7838 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005032/0.6376, allocations: 273.1 kB / 0.784 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.6377, allocations: 6.438 kB / 0.784 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6377, allocations: 1.375 kB / 0.784 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000155/0.6378, allocations: 25.75 kB / 0.7841 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.638, allocations: 50.14 kB / 0.7841 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.6391, allocations: 1.286 MB / 0.7854 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.6392, allocations: 33.03 kB / 0.7854 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.6393, allocations: 13 kB / 0.7854 GB, free: 13.56 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.0001692/0.6394, allocations: 153.1 kB / 0.7855 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.6395, allocations: 48.95 kB / 0.7856 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005572/0.6401, allocations: 258.7 kB / 0.7858 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.6401, allocations: 1.438 kB / 0.7858 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.6401, allocations: 1.344 kB / 0.7858 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6401, allocations: 1.406 kB / 0.7858 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/0.6405, allocations: 322.3 kB / 0.7862 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.6405, allocations: 5.469 kB / 0.7862 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.6407, allocations: 40.77 kB / 0.7862 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.17e-05/0.6408, allocations: 24.92 kB / 0.7862 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.6408, allocations: 2.688 kB / 0.7862 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.6418, allocations: 1.295 MB / 0.7875 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6418, allocations: 1.562 kB / 0.7875 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006311/0.6424, allocations: 457.9 kB / 0.7879 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.6425, allocations: 43.19 kB / 0.788 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.6425, allocations: 2.688 kB / 0.788 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.6427, allocations: 15.02 kB / 0.788 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.6428, allocations: 20.91 kB / 0.788 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.6428, allocations: 8 kB / 0.788 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003233/0.6431, allocations: 310.5 kB / 0.7883 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6431, allocations: 0 / 0.7883 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004874/0.6436, allocations: 101.4 kB / 0.7884 GB, free: 11.57 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.0002661/0.6439, allocations: 198 kB / 0.7886 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005402/0.6444, allocations: 268.9 kB / 0.7889 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6444, allocations: 0 / 0.7889 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.6447, allocations: 185.7 kB / 0.789 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007291/0.6455, allocations: 112.5 kB / 0.7891 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.6468, allocations: 0.8449 MB / 0.79 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.6472, allocations: 0.8073 MB / 0.7907 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.6474, allocations: 67.16 kB / 0.7908 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/0.6475, allocations: 32.88 kB / 0.7908 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.6475, allocations: 4 kB / 0.7908 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of Templates: time 0.01079/0.6583, allocations: 5.462 MB / 0.7962 GB, free: 9.363 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/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: 6.26119987713173]