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.001514/0.001514, allocations: 102 kB / 19.69 MB, free: 2.109 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.001659/0.001659, allocations: 212.6 kB / 23.01 MB, free: 4.945 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.362/1.362, allocations: 230.6 MB / 256.8 MB, free: 8.07 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.6917/0.6917, allocations: 94.57 MB / 407.8 MB, free: 9.23 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.002404/0.002404, allocations: 87.59 kB / 0.5562 GB, free: 38.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1141, allocations: 73.06 MB / 0.6275 GB, free: 24 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.4402/0.5544, allocations: 147.6 MB / 0.7717 GB, free: 2.297 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002879/0.5572, allocations: 3.164 MB / 0.7748 GB, free: 2.246 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005427/0.5578, allocations: 35.56 kB / 0.7748 GB, free: 2.246 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0006979/0.5585, allocations: 234.9 kB / 0.775 GB, free: 2.242 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0009522/0.5594, allocations: 392.5 kB / 0.7754 GB, free: 2.227 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.5605, allocations: 481.9 kB / 0.7758 GB, free: 2.199 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0009534/0.5615, allocations: 0.6936 MB / 0.7765 GB, free: 2.199 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.5617, allocations: 86.88 kB / 0.7766 GB, free: 2.184 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.5629, allocations: 0.5016 MB / 0.7771 GB, free: 2.172 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000524/0.5634, allocations: 295.1 kB / 0.7774 GB, free: 2.172 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 7.578e-05/0.5635, allocations: 24.88 kB / 0.7774 GB, free: 2.172 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.5646, allocations: 0.5796 MB / 0.778 GB, free: 2.16 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 8.932e-05/0.5647, allocations: 73.05 kB / 0.778 GB, free: 2.16 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.5649, allocations: 217.3 kB / 0.7782 GB, free: 2.16 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0009619/0.5659, allocations: 0.6891 MB / 0.7789 GB, free: 2.117 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.5659, allocations: 0 / 0.7789 GB, free: 2.117 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5659, allocations: 0 / 0.7789 GB, free: 2.117 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.5659, allocations: 4.969 kB / 0.7789 GB, free: 2.113 MB / 0.5763 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.001285/0.5672, allocations: 0.7329 MB / 0.7796 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.5672, allocations: 11.45 kB / 0.7797 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.5673, allocations: 61.7 kB / 0.7797 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007121/0.568, allocations: 407.1 kB / 0.7801 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.5681, allocations: 22.34 kB / 0.7801 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.5681, allocations: 25.56 kB / 0.7801 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.5685, allocations: 328 kB / 0.7805 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5686, allocations: 2.344 kB / 0.7805 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.5686, allocations: 14.25 kB / 0.7805 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.5686, allocations: 6.281 kB / 0.7805 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000424/0.569, allocations: 198.2 kB / 0.7807 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.5709, allocations: 1.721 MB / 0.7823 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.5713, allocations: 166.6 kB / 0.7825 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.5714, allocations: 64.81 kB / 0.7826 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004405/0.5718, allocations: 82.17 kB / 0.7826 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.5719, allocations: 43.78 kB / 0.7827 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.5719, allocations: 0 / 0.7827 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007684/0.5726, allocations: 273 kB / 0.783 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.5727, allocations: 114.3 kB / 0.7831 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003998/0.5731, allocations: 442.7 kB / 0.7835 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.5731, allocations: 28.22 kB / 0.7835 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.5733, allocations: 255 kB / 0.7838 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.5733, allocations: 47.12 kB / 0.7838 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.5734, allocations: 49.28 kB / 0.7838 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5736, allocations: 357 kB / 0.7842 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.5737, allocations: 57.97 kB / 0.7842 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.5738, allocations: 109.9 kB / 0.7843 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.5741, allocations: 179.1 kB / 0.7845 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5741, allocations: 1.375 kB / 0.7845 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004701/0.5746, allocations: 270.8 kB / 0.7848 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.5746, allocations: 5.5 kB / 0.7848 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5746, allocations: 4.328 kB / 0.7848 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001513/0.5747, allocations: 22.23 kB / 0.7848 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.5749, allocations: 52.33 kB / 0.7849 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.5759, allocations: 1.288 MB / 0.7861 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.5761, allocations: 33.03 kB / 0.7861 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.5762, allocations: 6.812 kB / 0.7862 GB, free: 13.59 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.0001787/0.5763, allocations: 158.7 kB / 0.7863 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.5765, allocations: 52.12 kB / 0.7864 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005342/0.577, allocations: 251.2 kB / 0.7866 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.577, allocations: 8.047 kB / 0.7866 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.577, allocations: 2.406 kB / 0.7866 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.577, allocations: 1.312 kB / 0.7866 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004206/0.5774, allocations: 321.2 kB / 0.7869 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.5774, allocations: 6 kB / 0.7869 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.5776, allocations: 41.7 kB / 0.787 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.593e-05/0.5776, allocations: 20.47 kB / 0.787 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.5777, allocations: 5.625 kB / 0.787 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009446/0.5786, allocations: 1.297 MB / 0.7882 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5786, allocations: 3.094 kB / 0.7882 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005803/0.5792, allocations: 458.9 kB / 0.7887 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.557e-05/0.5793, allocations: 38.83 kB / 0.7887 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.5793, allocations: 4.656 kB / 0.7887 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.5795, allocations: 17.03 kB / 0.7887 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.5796, allocations: 15.7 kB / 0.7888 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.5796, allocations: 9.969 kB / 0.7888 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003302/0.5799, allocations: 306.6 kB / 0.7891 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5799, allocations: 0 / 0.7891 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004677/0.5804, allocations: 101.7 kB / 0.7892 GB, free: 11.59 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.0002684/0.5806, allocations: 201.2 kB / 0.7894 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005183/0.5812, allocations: 266.8 kB / 0.7896 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5812, allocations: 0 / 0.7896 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.5815, allocations: 187.3 kB / 0.7898 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006559/0.5821, allocations: 112.7 kB / 0.7899 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.5835, allocations: 0.8804 MB / 0.7908 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.5839, allocations: 0.8069 MB / 0.7915 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/0.584, allocations: 37.94 kB / 0.7916 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.584, allocations: 0 / 0.7916 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of Templates: time 0.01009/0.5941, allocations: 7.811 MB / 0.7992 GB, free: 9.027 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.51176438992843]