Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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.001525/0.001525, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001655/0.001655, allocations: 217.3 kB / 23.01 MB, free: 4.609 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.6907/0.6907, allocations: 94.56 MB / 407.7 MB, free: 9.25 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.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [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.002352/0.002352, allocations: 84.61 kB / 0.5562 GB, free: 38.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1032, allocations: 73.06 MB / 0.6275 GB, free: 32 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02579/0.1289, allocations: 23.35 MB / 0.6503 GB, free: 8.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.1408, allocations: 9.571 MB / 0.6597 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000841/0.1416, allocations: 47.56 kB / 0.6597 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.1428, allocations: 413.2 kB / 0.6601 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.1452, allocations: 0.8151 MB / 0.6609 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.1465, allocations: 475.3 kB / 0.6614 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001764/0.1483, allocations: 1.166 MB / 0.6625 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003517/0.1486, allocations: 148 kB / 0.6626 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009436/0.1496, allocations: 0.5018 MB / 0.6631 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007318/0.1503, allocations: 453.7 kB / 0.6636 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.1505, allocations: 56 kB / 0.6636 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.1519, allocations: 0.5151 MB / 0.6641 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.1522, allocations: 163.2 kB / 0.6643 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000545/0.1527, allocations: 437.5 kB / 0.6647 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.155, allocations: 1.21 MB / 0.6659 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.155, allocations: 4 kB / 0.6659 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.155, allocations: 0 / 0.6659 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.081e-05/0.155, allocations: 0 / 0.6659 GB, free: 8.586 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002522/0.1575, allocations: 1.22 MB / 0.6671 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1576, allocations: 8.031 kB / 0.6671 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.1579, allocations: 116.3 kB / 0.6672 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.1591, allocations: 0.5802 MB / 0.6678 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/0.1591, allocations: 45.31 kB / 0.6678 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.1592, allocations: 68 kB / 0.6679 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.1603, allocations: 0.6808 MB / 0.6685 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.1604, allocations: 0 / 0.6685 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.1604, allocations: 24 kB / 0.6685 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.1604, allocations: 16 kB / 0.6686 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.1614, allocations: 0.6452 MB / 0.6692 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/0.1653, allocations: 2.979 MB / 0.6721 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.1664, allocations: 0.6368 MB / 0.6727 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/0.1668, allocations: 255.6 kB / 0.673 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001797/0.1686, allocations: 1.068 MB / 0.674 GB, free: 15.88 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.1687, allocations: 35.22 kB / 0.674 GB, free: 15.84 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=66): time 1.924e-06/0.1687, allocations: 4 kB / 0.674 GB, free: 15.83 MB / 0.5138 GB Notification: Performance of matching and sorting (n=66): time 0.01005/0.1787, allocations: 2.209 MB / 0.6762 GB, free: 13.61 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.1788, allocations: 85.77 kB / 0.6763 GB, free: 13.5 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008037/0.1796, allocations: 0.5943 MB / 0.6769 GB, free: 12.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/0.1796, allocations: 33.7 kB / 0.6769 GB, free: 12.86 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.1799, allocations: 388.9 kB / 0.6773 GB, free: 12.47 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.1801, allocations: 245.9 kB / 0.6775 GB, free: 12.23 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.1803, allocations: 114.3 kB / 0.6776 GB, free: 12.11 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1805, allocations: 334 kB / 0.6779 GB, free: 11.78 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.1808, allocations: 213.2 kB / 0.6781 GB, free: 11.57 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/0.1813, allocations: 298.8 kB / 0.6784 GB, free: 11.25 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008547/0.1821, allocations: 0.5397 MB / 0.6789 GB, free: 10.69 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1822, allocations: 4 kB / 0.679 GB, free: 10.68 MB / 0.5138 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005115/0.1873, allocations: 1.381 MB / 0.6803 GB, free: 9.285 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1873, allocations: 4 kB / 0.6803 GB, free: 9.281 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.1873, allocations: 7.984 kB / 0.6803 GB, free: 9.273 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004996/0.1923, allocations: 0.9468 MB / 0.6812 GB, free: 8.316 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.1927, allocations: 99.89 kB / 0.6813 GB, free: 8.219 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/0.1955, allocations: 2.849 MB / 0.6841 GB, free: 5.207 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.196, allocations: 59.62 kB / 0.6842 GB, free: 5.148 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.196, allocations: 27.98 kB / 0.6842 GB, free: 5.121 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003385/0.1964, allocations: 201.6 kB / 0.6844 GB, free: 4.914 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.1966, allocations: 79.48 kB / 0.6845 GB, free: 4.836 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005356/0.2019, allocations: 1.502 MB / 0.6859 GB, free: 3.316 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.2019, allocations: 7.984 kB / 0.6859 GB, free: 3.309 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.2019, allocations: 7.938 kB / 0.6859 GB, free: 3.301 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.2019, allocations: 3.984 kB / 0.686 GB, free: 3.297 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006346/0.2083, allocations: 2.111 MB / 0.688 GB, free: 1.121 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.2083, allocations: 8.062 kB / 0.688 GB, free: 1.113 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.2086, allocations: 75.89 kB / 0.6881 GB, free: 1.039 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005065/0.2137, allocations: 0.9313 MB / 0.689 GB, free: 100 kB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.664e-05/0.2137, allocations: 19.98 kB / 0.689 GB, free: 80 kB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002714/0.2164, allocations: 2.854 MB / 0.6918 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2164, allocations: 0 / 0.6918 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005575/0.222, allocations: 1.779 MB / 0.6935 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/0.2223, allocations: 135.2 kB / 0.6937 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.2224, allocations: 19.98 kB / 0.6937 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.2228, allocations: 16 kB / 0.6937 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2229, allocations: 44.56 kB / 0.6938 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/0.223, allocations: 20 kB / 0.6938 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005655/0.2235, allocations: 431 kB / 0.6942 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2235, allocations: 0 / 0.6942 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008568/0.2244, allocations: 303.3 kB / 0.6945 GB, free: 10.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.T) * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006086/0.225, allocations: 386.5 kB / 0.6948 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.2264, allocations: 0.6796 MB / 0.6955 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2264, allocations: 0 / 0.6955 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007689/0.2272, allocations: 426.9 kB / 0.6959 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.2283, allocations: 233.1 kB / 0.6961 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.2311, allocations: 1.576 MB / 0.6977 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/0.2317, allocations: 0.9502 MB / 0.6986 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.2319, allocations: 63.42 kB / 0.6987 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.2319, allocations: 0 / 0.6987 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of Templates: time 0.0283/0.2602, allocations: 22.43 MB / 0.7206 GB, free: 15.52 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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.934410116868094]