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.001884/0.001884, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002087/0.002087, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.694/1.694, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 1.037/1.037, allocations: 118.6 MB / 378.2 MB, free: 1.461 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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.373e-06/1.373e-06, allocations: 0 / 482.9 MB, free: 8.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.462e-05, allocations: 3.344 kB / 482.9 MB, free: 8.301 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01926/0.01928, allocations: 19.08 MB / 0.4902 GB, free: 11.54 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009139/0.02842, allocations: 6.179 MB / 0.4962 GB, free: 6.777 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007428/0.02916, allocations: 35.62 kB / 0.4963 GB, free: 6.742 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008674/0.03003, allocations: 261.6 kB / 0.4965 GB, free: 6.555 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.03201, allocations: 0.6087 MB / 0.4971 GB, free: 6.059 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.03312, allocations: 381.7 kB / 0.4975 GB, free: 5.781 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.03446, allocations: 0.918 MB / 0.4984 GB, free: 4.941 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.03473, allocations: 95.45 kB / 0.4985 GB, free: 4.848 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.03573, allocations: 0.5037 MB / 0.4989 GB, free: 4.445 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.03616, allocations: 238.5 kB / 0.4992 GB, free: 4.258 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.835e-05/0.03624, allocations: 40 kB / 0.4992 GB, free: 4.219 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.03725, allocations: 334.6 kB / 0.4995 GB, free: 3.918 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.03742, allocations: 116 kB / 0.4996 GB, free: 3.82 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.03771, allocations: 207.7 kB / 0.4998 GB, free: 3.633 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.03935, allocations: 0.8772 MB / 0.5007 GB, free: 2.938 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.03935, allocations: 0.6562 kB / 0.5007 GB, free: 2.938 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.03935, allocations: 0 / 0.5007 GB, free: 2.938 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.03936, allocations: 0 / 0.5007 GB, free: 2.938 MB / 426.7 MB 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.002051/0.04141, allocations: 1.087 MB / 0.5018 GB, free: 1.887 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.04146, allocations: 12.03 kB / 0.5018 GB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003633/0.04182, allocations: 122.8 kB / 0.5019 GB, free: 1.758 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.04284, allocations: 0.5318 MB / 0.5024 GB, free: 1.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.04288, allocations: 29.38 kB / 0.5024 GB, free: 1.242 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.757e-05/0.04295, allocations: 41.27 kB / 0.5025 GB, free: 1.203 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008343/0.04379, allocations: 449.7 kB / 0.5029 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.04381, allocations: 3.938 kB / 0.5029 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.04385, allocations: 20 kB / 0.5029 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.04386, allocations: 12 kB / 0.5029 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/0.04453, allocations: 303.8 kB / 0.5032 GB, free: 456 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003018/0.04755, allocations: 1.824 MB / 0.505 GB, free: 14.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008025/0.04835, allocations: 392.6 kB / 0.5054 GB, free: 14.15 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003077/0.04866, allocations: 167 kB / 0.5055 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001608/0.05027, allocations: 0.8656 MB / 0.5064 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.0503, allocations: 41.39 kB / 0.5064 GB, free: 13.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 2.094e-06/0.05031, allocations: 0 / 0.5064 GB, free: 13.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.002721/0.05303, allocations: 0.6717 MB / 0.5071 GB, free: 12.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.0531, allocations: 85.05 kB / 0.5072 GB, free: 12.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008181/0.05392, allocations: 0.6197 MB / 0.5078 GB, free: 11.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.05395, allocations: 29.7 kB / 0.5078 GB, free: 11.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.05431, allocations: 387.2 kB / 0.5082 GB, free: 11.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.05446, allocations: 142.9 kB / 0.5083 GB, free: 11.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.05462, allocations: 95.8 kB / 0.5084 GB, free: 10.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003549/0.05497, allocations: 0.5586 MB / 0.5089 GB, free: 10.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.05521, allocations: 109.1 kB / 0.509 GB, free: 10.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.05557, allocations: 221.5 kB / 0.5093 GB, free: 10.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/0.0562, allocations: 372.2 kB / 0.5096 GB, free: 9.602 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.05621, allocations: 3.938 kB / 0.5096 GB, free: 9.598 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001193/0.0574, allocations: 0.5197 MB / 0.5101 GB, free: 9.062 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.05742, allocations: 11.94 kB / 0.5101 GB, free: 9.051 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.05743, allocations: 0 / 0.5101 GB, free: 9.051 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.05863, allocations: 187.2 kB / 0.5103 GB, free: 8.859 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.05893, allocations: 71.91 kB / 0.5104 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/0.06164, allocations: 2.81 MB / 0.5131 GB, free: 5.828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.06194, allocations: 35.72 kB / 0.5132 GB, free: 5.793 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/0.06198, allocations: 23.98 kB / 0.5132 GB, free: 5.77 MB / 442.7 MB 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.0003085/0.06229, allocations: 216.5 kB / 0.5134 GB, free: 5.547 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.06244, allocations: 71.62 kB / 0.5135 GB, free: 5.477 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.06353, allocations: 0.5262 MB / 0.514 GB, free: 4.938 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.06354, allocations: 7.938 kB / 0.514 GB, free: 4.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.06355, allocations: 4 kB / 0.514 GB, free: 4.926 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.06355, allocations: 0 / 0.514 GB, free: 4.926 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.06571, allocations: 1.034 MB / 0.515 GB, free: 3.836 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.06571, allocations: 4 kB / 0.515 GB, free: 3.832 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.06593, allocations: 43.92 kB / 0.515 GB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.06705, allocations: 183.3 kB / 0.5152 GB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.06708, allocations: 19.98 kB / 0.5152 GB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/0.06962, allocations: 2.802 MB / 0.518 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.06963, allocations: 4 kB / 0.518 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.07133, allocations: 0.8386 MB / 0.5188 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.07154, allocations: 91.45 kB / 0.5189 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.86e-05/0.0716, allocations: 15.88 kB / 0.5189 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.07186, allocations: 8 kB / 0.5189 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.07195, allocations: 27.89 kB / 0.5189 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.07198, allocations: 12 kB / 0.5189 GB, free: 15.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005515/0.07253, allocations: 422.7 kB / 0.5193 GB, free: 15.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07253, allocations: 4.031 kB / 0.5193 GB, free: 15.17 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007/0.07323, allocations: 191.6 kB / 0.5195 GB, free: 14.98 MB / 458.7 MB 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.0004642/0.0737, allocations: 270 kB / 0.5198 GB, free: 14.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.07476, allocations: 494.4 kB / 0.5203 GB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.07476, allocations: 0 / 0.5203 GB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006545/0.07541, allocations: 357.4 kB / 0.5206 GB, free: 13.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.07656, allocations: 204.9 kB / 0.5208 GB, free: 13.65 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.07858, allocations: 1.077 MB / 0.5218 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.07892, allocations: 280.1 kB / 0.5221 GB, free: 12.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002722/0.07919, allocations: 81.56 kB / 0.5222 GB, free: 12.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.0793, allocations: 48.48 kB / 0.5222 GB, free: 12.11 MB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/0.0793, allocations: 0 / 0.5222 GB, free: 12.11 MB / 458.7 MB Notification: Performance of Templates: time 0.02146/0.1008, allocations: 10.33 MB / 0.5323 GB, free: 1.984 MB / 458.7 MB " [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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 240] 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: 6.404625088907778]