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.001587/0.001587, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001777/0.001777, allocations: 216.4 kB / 22.99 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.7256/0.7256, allocations: 94.63 MB / 407.8 MB, free: 8.902 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.002549/0.002549, allocations: 79.97 kB / 0.5562 GB, free: 38.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1079, allocations: 73.06 MB / 0.6275 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.0261/0.134, allocations: 21.18 MB / 0.6482 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.1456, allocations: 8.668 MB / 0.6566 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007788/0.1463, allocations: 43.62 kB / 0.6567 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.1474, allocations: 361.4 kB / 0.657 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.1497, allocations: 0.8113 MB / 0.6578 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.1509, allocations: 466.4 kB / 0.6583 GB, free: 84 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.1525, allocations: 1.166 MB / 0.6594 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003326/0.1528, allocations: 140 kB / 0.6595 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000909/0.1538, allocations: 0.4978 MB / 0.66 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005986/0.1544, allocations: 405.8 kB / 0.6604 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.1545, allocations: 60 kB / 0.6605 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.1556, allocations: 479.5 kB / 0.6609 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.1557, allocations: 163.2 kB / 0.6611 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003605/0.1561, allocations: 350.1 kB / 0.6614 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.1577, allocations: 1.21 MB / 0.6626 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1577, allocations: 0 / 0.6626 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1577, allocations: 0 / 0.6626 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.1578, allocations: 0 / 0.6626 GB, free: 11.61 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.002147/0.1599, allocations: 1.212 MB / 0.6638 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1599, allocations: 12.03 kB / 0.6638 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003077/0.1602, allocations: 116.3 kB / 0.6639 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.1614, allocations: 0.5879 MB / 0.6645 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.214e-05/0.1614, allocations: 45.31 kB / 0.6645 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.1615, allocations: 64 kB / 0.6646 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.1626, allocations: 0.6769 MB / 0.6652 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.1627, allocations: 0 / 0.6652 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.115e-05/0.1627, allocations: 24 kB / 0.6653 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.1627, allocations: 16 kB / 0.6653 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.1638, allocations: 0.6375 MB / 0.6659 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/0.1672, allocations: 2.051 MB / 0.6679 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.1683, allocations: 0.6174 MB / 0.6685 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004655/0.1688, allocations: 260.8 kB / 0.6688 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001461/0.1702, allocations: 0.7833 MB / 0.6695 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.1703, allocations: 43.22 kB / 0.6696 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.164e-06/0.1703, allocations: 0 / 0.6696 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.01016/0.1805, allocations: 2.252 MB / 0.6718 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.1805, allocations: 89.77 kB / 0.6719 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007225/0.1812, allocations: 0.5707 MB / 0.6724 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.1813, allocations: 33.7 kB / 0.6724 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.1816, allocations: 392.8 kB / 0.6728 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.1818, allocations: 245.8 kB / 0.6731 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.182, allocations: 114.3 kB / 0.6732 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002163/0.1822, allocations: 390.7 kB / 0.6735 GB, free: 148 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.1826, allocations: 205.2 kB / 0.6737 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/0.1831, allocations: 307.7 kB / 0.674 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008999/0.184, allocations: 0.5366 MB / 0.6745 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.184, allocations: 4 kB / 0.6745 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005087/0.189, allocations: 1.381 MB / 0.6759 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1891, allocations: 11.94 kB / 0.6759 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1891, allocations: 0 / 0.6759 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005065/0.1941, allocations: 0.9353 MB / 0.6768 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.1945, allocations: 99.83 kB / 0.6769 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/0.1973, allocations: 2.819 MB / 0.6797 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.1977, allocations: 67.53 kB / 0.6797 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/0.1977, allocations: 23.98 kB / 0.6798 GB, free: 9.531 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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.0003014/0.198, allocations: 199.9 kB / 0.6799 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.1982, allocations: 83.42 kB / 0.68 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005255/0.2034, allocations: 1.471 MB / 0.6815 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.2034, allocations: 4 kB / 0.6815 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2034, allocations: 4 kB / 0.6815 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.2034, allocations: 3.984 kB / 0.6815 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006022/0.2095, allocations: 1.958 MB / 0.6834 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2095, allocations: 4.062 kB / 0.6834 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.2098, allocations: 71.91 kB / 0.6835 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005076/0.2148, allocations: 0.9428 MB / 0.6844 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.478e-05/0.2149, allocations: 16 kB / 0.6844 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002716/0.2176, allocations: 2.819 MB / 0.6872 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2176, allocations: 0 / 0.6872 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005575/0.2232, allocations: 1.763 MB / 0.6889 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.2235, allocations: 139.2 kB / 0.689 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.325e-05/0.2236, allocations: 19.95 kB / 0.689 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.224, allocations: 16 kB / 0.689 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.2241, allocations: 48.5 kB / 0.6891 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.2241, allocations: 20 kB / 0.6891 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005337/0.2246, allocations: 415 kB / 0.6895 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2246, allocations: 0 / 0.6895 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008238/0.2255, allocations: 283.4 kB / 0.6898 GB, free: 15 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 (40): * Single equations (assignments): 37 * 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.0005521/0.226, allocations: 383.4 kB / 0.6901 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001332/0.2274, allocations: 0.6641 MB / 0.6908 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2274, allocations: 0 / 0.6908 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007546/0.2281, allocations: 427 kB / 0.6912 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.2291, allocations: 202.6 kB / 0.6914 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.2318, allocations: 1.584 MB / 0.6929 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.2322, allocations: 369.2 kB / 0.6933 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.2323, allocations: 63.42 kB / 0.6933 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.2323, allocations: 0 / 0.6933 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.0275/0.2598, allocations: 22.4 MB / 0.7152 GB, free: 4.875 MB / 0.545 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: 9.212619831319898]