Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.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.0007835/0.0007835, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000808/0.000808, allocations: 178.2 kB / 23.22 MB, free: 1.344 MB / 18.57 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 0.866/0.866, allocations: 177.2 MB / 203.5 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6409/0.6409, allocations: 116 MB / 376 MB, free: 4.207 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.5545 GB, free: 12.9 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.811e-05, allocations: 10.16 kB / 0.5545 GB, free: 12.89 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01165/0.01167, allocations: 17.13 MB / 0.5712 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003781/0.01545, allocations: 5.434 MB / 0.5765 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002458/0.0157, allocations: 39.62 kB / 0.5766 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004287/0.01613, allocations: 258 kB / 0.5768 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007951/0.01692, allocations: 0.6128 MB / 0.5774 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.01734, allocations: 378.4 kB / 0.5778 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005832/0.01792, allocations: 0.9092 MB / 0.5786 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.01808, allocations: 90.11 kB / 0.5787 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005052/0.01859, allocations: 0.5063 MB / 0.5792 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.0188, allocations: 235.2 kB / 0.5795 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.237e-05/0.01884, allocations: 36 kB / 0.5795 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006573/0.0195, allocations: 335.4 kB / 0.5798 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.605e-05/0.01959, allocations: 123.3 kB / 0.5799 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.01972, allocations: 207.4 kB / 0.5801 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007614/0.02048, allocations: 0.8682 MB / 0.581 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.02049, allocations: 0 / 0.581 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.202e-06/0.02049, allocations: 0 / 0.581 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.0205, allocations: 0 / 0.581 GB, free: 1.652 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009937/0.02149, allocations: 0.9285 MB / 0.5819 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.02152, allocations: 8.031 kB / 0.5819 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.02166, allocations: 92.41 kB / 0.582 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.02221, allocations: 485.2 kB / 0.5824 GB, free: 96 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.02223, allocations: 29.38 kB / 0.5825 GB, free: 64 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.02228, allocations: 48.11 kB / 0.5825 GB, free: 16 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.02275, allocations: 472.7 kB / 0.583 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.02277, allocations: 0 / 0.583 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.02279, allocations: 19.94 kB / 0.583 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.0228, allocations: 12 kB / 0.583 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000422/0.02322, allocations: 419.7 kB / 0.5834 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.02464, allocations: 1.497 MB / 0.5849 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.02507, allocations: 357.8 kB / 0.5852 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.02526, allocations: 158.8 kB / 0.5853 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007595/0.02602, allocations: 0.7176 MB / 0.586 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.02604, allocations: 42.5 kB / 0.5861 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=37): time 1.162e-06/0.02604, allocations: 0 / 0.5861 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=37): time 0.001518/0.02755, allocations: 0.6592 MB / 0.5867 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.02759, allocations: 81.11 kB / 0.5868 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.02793, allocations: 495 kB / 0.5873 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.02795, allocations: 29.7 kB / 0.5873 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.0281, allocations: 320.4 kB / 0.5876 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.824e-05/0.02817, allocations: 138.8 kB / 0.5877 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.388e-05/0.02824, allocations: 74.16 kB / 0.5878 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.02834, allocations: 374.7 kB / 0.5882 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.02847, allocations: 105.1 kB / 0.5883 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.02863, allocations: 198.3 kB / 0.5885 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.02894, allocations: 317.3 kB / 0.5888 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.02894, allocations: 0 / 0.5888 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005723/0.02952, allocations: 0.4946 MB / 0.5892 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.02953, allocations: 8 kB / 0.5893 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.02953, allocations: 0 / 0.5893 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000496/0.03003, allocations: 169.6 kB / 0.5894 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.03018, allocations: 79.88 kB / 0.5895 GB, free: 8.574 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.03122, allocations: 2 MB / 0.5914 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.03135, allocations: 35.78 kB / 0.5915 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.03137, allocations: 16 kB / 0.5915 GB, free: 6.391 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.03151, allocations: 173.7 kB / 0.5917 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.03157, allocations: 67.52 kB / 0.5917 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005548/0.03213, allocations: 499 kB / 0.5922 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.03213, allocations: 4 kB / 0.5922 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.03214, allocations: 3.984 kB / 0.5922 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.03214, allocations: 3.938 kB / 0.5922 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009675/0.03311, allocations: 0.8832 MB / 0.5931 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.03311, allocations: 0 / 0.5931 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.03322, allocations: 51.97 kB / 0.5931 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004214/0.03364, allocations: 169.7 kB / 0.5933 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.03366, allocations: 12 kB / 0.5933 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.03484, allocations: 2.001 MB / 0.5953 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.03484, allocations: 0 / 0.5953 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007187/0.03556, allocations: 0.7093 MB / 0.5959 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.03566, allocations: 95.56 kB / 0.596 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.03569, allocations: 15.94 kB / 0.5961 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.03582, allocations: 8 kB / 0.5961 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.03587, allocations: 35.88 kB / 0.5961 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.03588, allocations: 12 kB / 0.5961 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002445/0.03613, allocations: 342.8 kB / 0.5964 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.03613, allocations: 0 / 0.5964 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003732/0.0365, allocations: 191.6 kB / 0.5966 GB, free: 0.918 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002693/0.03677, allocations: 289.7 kB / 0.5969 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005267/0.0373, allocations: 430.9 kB / 0.5973 GB, free: 200 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.0373, allocations: 0 / 0.5973 GB, free: 200 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.03755, allocations: 278.8 kB / 0.5976 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.03814, allocations: 190.5 kB / 0.5978 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.03928, allocations: 1.067 MB / 0.5988 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.03945, allocations: 275.8 kB / 0.5991 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.915e-05/0.03953, allocations: 48.48 kB / 0.5991 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of SimCode: time 5.01e-07/0.03953, allocations: 4 kB / 0.5991 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.01025/0.04978, allocations: 14.09 MB / 0.6129 GB, free: 216 kB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.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: 5.9873206205666065]