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.001361/0.001361, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001567/0.001567, allocations: 213 kB / 22.24 MB, free: 5.262 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.805 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.7591/0.7591, allocations: 94.62 MB / 407 MB, free: 8.84 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.004347/0.004347, allocations: 91.17 kB / 0.5554 GB, free: 38.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1342, allocations: 73.05 MB / 0.6268 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02725/0.1615, allocations: 21.17 MB / 0.6474 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.1736, allocations: 8.672 MB / 0.6559 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009734/0.1746, allocations: 39.62 kB / 0.6559 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.1758, allocations: 365.4 kB / 0.6563 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.1783, allocations: 0.8112 MB / 0.6571 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.1797, allocations: 468.5 kB / 0.6575 GB, free: 52 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001735/0.1815, allocations: 1.17 MB / 0.6587 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003482/0.1818, allocations: 144 kB / 0.6588 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009812/0.1828, allocations: 0.494 MB / 0.6593 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000715/0.1835, allocations: 409.8 kB / 0.6597 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.1837, allocations: 60 kB / 0.6597 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.185, allocations: 471.6 kB / 0.6602 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.1852, allocations: 163.2 kB / 0.6603 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004524/0.1856, allocations: 358 kB / 0.6607 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.1877, allocations: 1.198 MB / 0.6619 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1877, allocations: 3.938 kB / 0.6619 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1877, allocations: 4 kB / 0.6619 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.563e-05/0.1877, allocations: 0 / 0.6619 GB, free: 11.58 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.002759/0.1905, allocations: 1.216 MB / 0.6631 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1905, allocations: 12.03 kB / 0.6631 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003516/0.1909, allocations: 116.2 kB / 0.6632 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.1921, allocations: 0.5802 MB / 0.6637 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.1922, allocations: 49.31 kB / 0.6638 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.1923, allocations: 60 kB / 0.6638 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.1935, allocations: 0.6769 MB / 0.6645 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.1935, allocations: 0 / 0.6645 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.995e-05/0.1935, allocations: 28 kB / 0.6645 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.1936, allocations: 12 kB / 0.6645 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.1947, allocations: 0.6453 MB / 0.6652 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003634/0.1983, allocations: 2.043 MB / 0.6672 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.1996, allocations: 0.6273 MB / 0.6678 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004578/0.2, allocations: 255.6 kB / 0.668 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001461/0.2015, allocations: 0.7833 MB / 0.6688 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.2015, allocations: 39.22 kB / 0.6688 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.846e-06/0.2015, allocations: 0 / 0.6688 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.01042/0.212, allocations: 2.248 MB / 0.671 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.212, allocations: 97.69 kB / 0.6711 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007747/0.2128, allocations: 0.5707 MB / 0.6717 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.614e-05/0.2129, allocations: 37.7 kB / 0.6717 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/0.2132, allocations: 388.8 kB / 0.6721 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.2134, allocations: 245.8 kB / 0.6723 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.2136, allocations: 114.3 kB / 0.6724 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.2138, allocations: 390.7 kB / 0.6728 GB, free: 112 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.2142, allocations: 205.2 kB / 0.673 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.2147, allocations: 311.7 kB / 0.6733 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009221/0.2156, allocations: 0.5327 MB / 0.6738 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.2156, allocations: 8 kB / 0.6738 GB, free: 15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005275/0.2209, allocations: 1.381 MB / 0.6752 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.2209, allocations: 7.938 kB / 0.6752 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.221, allocations: 4 kB / 0.6752 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005273/0.2262, allocations: 0.9352 MB / 0.6761 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.2266, allocations: 95.89 kB / 0.6762 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002904/0.2295, allocations: 2.819 MB / 0.6789 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/0.23, allocations: 55.52 kB / 0.679 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/0.23, allocations: 31.98 kB / 0.679 GB, free: 9.5 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.0003477/0.2304, allocations: 203.9 kB / 0.6792 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.2306, allocations: 83.42 kB / 0.6793 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005507/0.2361, allocations: 1.472 MB / 0.6807 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.2361, allocations: 8 kB / 0.6807 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2361, allocations: 3.938 kB / 0.6807 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.2361, allocations: 3.984 kB / 0.6807 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/0.2423, allocations: 1.954 MB / 0.6827 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.2423, allocations: 4.062 kB / 0.6827 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.2426, allocations: 71.91 kB / 0.6827 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005142/0.2477, allocations: 0.939 MB / 0.6836 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/0.2478, allocations: 20 kB / 0.6837 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002807/0.2506, allocations: 2.811 MB / 0.6864 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.2506, allocations: 7.969 kB / 0.6864 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005719/0.2563, allocations: 1.767 MB / 0.6881 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.2566, allocations: 135.3 kB / 0.6883 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.2567, allocations: 19.94 kB / 0.6883 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.2571, allocations: 12 kB / 0.6883 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.2572, allocations: 52.5 kB / 0.6883 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.2572, allocations: 20 kB / 0.6884 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005434/0.2578, allocations: 407.1 kB / 0.6888 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2578, allocations: 0 / 0.6888 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008631/0.2586, allocations: 295.4 kB / 0.689 GB, free: 14.96 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.0005908/0.2592, allocations: 379 kB / 0.6894 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.2606, allocations: 0.6641 MB / 0.69 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2606, allocations: 0 / 0.69 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007893/0.2614, allocations: 431 kB / 0.6905 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.2625, allocations: 196.7 kB / 0.6906 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.2653, allocations: 1.556 MB / 0.6922 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.2657, allocations: 361.4 kB / 0.6925 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003378/0.266, allocations: 99.77 kB / 0.6926 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.2662, allocations: 59.42 kB / 0.6927 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of SimCode: time 4e-07/0.2662, allocations: 0 / 0.6927 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.02781/0.294, allocations: 15.59 MB / 0.7079 GB, free: 11.82 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/jenkins/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: 6.083061387762427]