Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001279/0.001279, allocations: 79.52 kB / 19.18 MB, free: 2.516 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.001504/0.001504, allocations: 159.3 kB / 22.46 MB, free: 5.375 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.399/1.399, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7461/0.7461, allocations: 80.2 MB / 339.4 MB, free: 10.86 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_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_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.4929 GB, free: 25.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.472e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01425/0.01427, allocations: 17.1 MB / 0.5096 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005354/0.01963, allocations: 5.43 MB / 0.5149 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005108/0.02014, allocations: 34.34 kB / 0.5149 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.02078, allocations: 264.5 kB / 0.5152 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.02211, allocations: 0.5895 MB / 0.5157 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009052/0.02302, allocations: 377.9 kB / 0.5161 GB, free: 9.785 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009195/0.02394, allocations: 0.9026 MB / 0.517 GB, free: 9.305 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.02414, allocations: 90.44 kB / 0.5171 GB, free: 9.258 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009037/0.02505, allocations: 0.5003 MB / 0.5175 GB, free: 9.055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003786/0.02543, allocations: 237.8 kB / 0.5178 GB, free: 8.977 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.764e-05/0.0255, allocations: 39.94 kB / 0.5178 GB, free: 8.977 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008468/0.02635, allocations: 337.4 kB / 0.5181 GB, free: 8.883 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.02646, allocations: 113.7 kB / 0.5182 GB, free: 8.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.02669, allocations: 198.7 kB / 0.5184 GB, free: 8.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.02794, allocations: 0.8481 MB / 0.5193 GB, free: 8.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.02794, allocations: 3.938 kB / 0.5193 GB, free: 8.387 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.02794, allocations: 0 / 0.5193 GB, free: 8.387 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.02795, allocations: 0 / 0.5193 GB, free: 8.387 MB / 446.1 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.001603/0.02956, allocations: 0.9257 MB / 0.5202 GB, free: 7.727 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.0296, allocations: 10.69 kB / 0.5202 GB, free: 7.727 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.02986, allocations: 84.41 kB / 0.5203 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008856/0.03074, allocations: 479.8 kB / 0.5207 GB, free: 7.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.03078, allocations: 29.62 kB / 0.5207 GB, free: 7.363 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.982e-05/0.03086, allocations: 46.95 kB / 0.5208 GB, free: 7.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007429/0.03161, allocations: 472.5 kB / 0.5212 GB, free: 7.113 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.03163, allocations: 1.969 kB / 0.5212 GB, free: 7.113 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.03167, allocations: 20.31 kB / 0.5213 GB, free: 7.098 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.03168, allocations: 9.344 kB / 0.5213 GB, free: 7.098 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006649/0.03234, allocations: 417.1 kB / 0.5217 GB, free: 6.957 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.03444, allocations: 1.514 MB / 0.5231 GB, free: 5.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/0.03509, allocations: 380.3 kB / 0.5235 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.03538, allocations: 169.6 kB / 0.5237 GB, free: 5.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009181/0.0363, allocations: 0.5974 MB / 0.5243 GB, free: 5.211 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.03631, allocations: 38.58 kB / 0.5243 GB, free: 5.168 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.883e-06/0.03632, allocations: 0 / 0.5243 GB, free: 5.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=41): time 0.005941/0.04226, allocations: 1.302 MB / 0.5256 GB, free: 4.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.04229, allocations: 86.23 kB / 0.5256 GB, free: 4.742 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/0.04284, allocations: 465.7 kB / 0.5261 GB, free: 4.523 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.04287, allocations: 32.39 kB / 0.5261 GB, free: 4.488 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.04304, allocations: 305.2 kB / 0.5264 GB, free: 4.238 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.04314, allocations: 146.6 kB / 0.5265 GB, free: 4.121 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.04326, allocations: 82.55 kB / 0.5266 GB, free: 4.066 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.545e-05/0.04334, allocations: 369.8 kB / 0.527 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.04357, allocations: 128.6 kB / 0.5271 GB, free: 3.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.04383, allocations: 195.8 kB / 0.5273 GB, free: 3.562 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.04433, allocations: 354.2 kB / 0.5276 GB, free: 3.355 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.04433, allocations: 5.375 kB / 0.5276 GB, free: 3.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002694/0.04702, allocations: 0.802 MB / 0.5284 GB, free: 3.078 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.04704, allocations: 6 kB / 0.5284 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.04705, allocations: 2.938 kB / 0.5284 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002669/0.04972, allocations: 0.4887 MB / 0.5289 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.04998, allocations: 66.84 kB / 0.529 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.05136, allocations: 2.067 MB / 0.531 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.05168, allocations: 34.75 kB / 0.531 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.05171, allocations: 16.52 kB / 0.531 GB, free: 1.059 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (37): * Single equations (assignments): 35 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002069/0.05192, allocations: 175.1 kB / 0.5312 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.05203, allocations: 66.45 kB / 0.5313 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002817/0.05485, allocations: 0.8424 MB / 0.5321 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.05486, allocations: 9.156 kB / 0.5321 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.05486, allocations: 1.375 kB / 0.5321 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.05487, allocations: 5.969 kB / 0.5321 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003476/0.05835, allocations: 1.225 MB / 0.5333 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.05836, allocations: 8.688 kB / 0.5333 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.05856, allocations: 42.98 kB / 0.5333 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002674/0.06123, allocations: 0.4895 MB / 0.5338 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.06127, allocations: 9.047 kB / 0.5338 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.0633, allocations: 2.07 MB / 0.5359 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.0633, allocations: 1.188 kB / 0.5359 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003214/0.06651, allocations: 1.095 MB / 0.5369 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.06676, allocations: 92.23 kB / 0.537 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.06687, allocations: 7.641 kB / 0.537 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.06718, allocations: 14.16 kB / 0.537 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.06726, allocations: 32.42 kB / 0.5371 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.0673, allocations: 14.09 kB / 0.5371 GB, free: 13.35 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004621/0.06776, allocations: 335.7 kB / 0.5374 GB, free: 13.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.06776, allocations: 0 / 0.5374 GB, free: 13.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007728/0.06853, allocations: 194.8 kB / 0.5376 GB, free: 13.14 MB / 462.1 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 (26): * Single equations (assignments): 24 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005431/0.06907, allocations: 288.3 kB / 0.5379 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.07009, allocations: 463.6 kB / 0.5383 GB, free: 12.74 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.0701, allocations: 1.062 kB / 0.5383 GB, free: 12.74 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005516/0.07065, allocations: 298.7 kB / 0.5386 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.07187, allocations: 210.2 kB / 0.5388 GB, free: 12.49 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.07396, allocations: 1.037 MB / 0.5398 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.07428, allocations: 271.1 kB / 0.5401 GB, free: 11.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003105/0.07459, allocations: 80.55 kB / 0.5401 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.07472, allocations: 44.92 kB / 0.5402 GB, free: 11.72 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/0.07472, allocations: 0 / 0.5402 GB, free: 11.72 MB / 462.1 MB Notification: Performance of Templates: time 0.02162/0.09633, allocations: 10.87 MB / 0.5508 GB, free: 3.637 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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.472650744020939]