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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 105.1 kB / 16.41 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 189.7 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6754/0.6754, allocations: 91.18 MB / 382.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 87.86 kB / 0.5175 GB, free: 4.129 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2874, allocations: 67.68 MB / 0.5836 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01353/0.301, allocations: 17.33 MB / 0.6005 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007067/0.3081, allocations: 6.777 MB / 0.6071 GB, free: 5.961 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005389/0.3087, allocations: 19.88 kB / 0.6072 GB, free: 5.941 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007741/0.3095, allocations: 282 kB / 0.6074 GB, free: 5.664 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.311, allocations: 0.5317 MB / 0.6079 GB, free: 5.129 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008763/0.3118, allocations: 362.7 kB / 0.6083 GB, free: 4.773 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009311/0.3128, allocations: 0.7814 MB / 0.6091 GB, free: 3.988 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.3131, allocations: 145.5 kB / 0.6092 GB, free: 3.844 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005395/0.3136, allocations: 346.5 kB / 0.6095 GB, free: 3.504 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003679/0.314, allocations: 302.5 kB / 0.6098 GB, free: 3.207 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/0.3141, allocations: 40 kB / 0.6099 GB, free: 3.168 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00085/0.3149, allocations: 355.7 kB / 0.6102 GB, free: 2.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.3151, allocations: 111.5 kB / 0.6103 GB, free: 2.711 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.3154, allocations: 290.3 kB / 0.6106 GB, free: 2.426 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.3166, allocations: 0.8309 MB / 0.6114 GB, free: 1.598 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3166, allocations: 0 / 0.6114 GB, free: 1.598 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3166, allocations: 0 / 0.6114 GB, free: 1.598 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.3166, allocations: 0 / 0.6114 GB, free: 1.598 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001426/0.3181, allocations: 0.9696 MB / 0.6123 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.3181, allocations: 8.031 kB / 0.6123 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.3183, allocations: 72.09 kB / 0.6124 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007453/0.319, allocations: 0.5035 MB / 0.6129 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.3191, allocations: 36.94 kB / 0.6129 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.3191, allocations: 40 kB / 0.613 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/0.3198, allocations: 455.9 kB / 0.6134 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3198, allocations: 3.938 kB / 0.6134 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.3199, allocations: 20 kB / 0.6134 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.3199, allocations: 12 kB / 0.6134 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006266/0.3205, allocations: 411.7 kB / 0.6138 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.3229, allocations: 2.056 MB / 0.6158 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/0.3235, allocations: 408.8 kB / 0.6162 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.3238, allocations: 189.6 kB / 0.6164 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/0.3252, allocations: 1.412 MB / 0.6178 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.3253, allocations: 30.89 kB / 0.6178 GB, free: 10.51 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 1.894e-06/0.3253, allocations: 0 / 0.6178 GB, free: 10.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=41): time 0.00561/0.3309, allocations: 1.464 MB / 0.6193 GB, free: 8.996 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.331, allocations: 92.98 kB / 0.6193 GB, free: 8.887 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004878/0.3315, allocations: 463 kB / 0.6198 GB, free: 8.422 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.3315, allocations: 33.7 kB / 0.6198 GB, free: 8.383 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.3317, allocations: 288.3 kB / 0.6201 GB, free: 8.094 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.314e-05/0.3318, allocations: 137.9 kB / 0.6202 GB, free: 7.957 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.3319, allocations: 74.12 kB / 0.6203 GB, free: 7.879 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3321, allocations: 370.8 kB / 0.6206 GB, free: 7.508 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.3323, allocations: 120.8 kB / 0.6208 GB, free: 7.387 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.3326, allocations: 185.8 kB / 0.6209 GB, free: 7.188 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.3331, allocations: 331 kB / 0.6213 GB, free: 6.848 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3331, allocations: 4 kB / 0.6213 GB, free: 6.844 MB / 478.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002604/0.3357, allocations: 0.8026 MB / 0.622 GB, free: 6.027 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3357, allocations: 9.125 kB / 0.6221 GB, free: 6.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3357, allocations: 4 kB / 0.6221 GB, free: 6.016 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002611/0.3383, allocations: 489.2 kB / 0.6225 GB, free: 5.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.3386, allocations: 71.91 kB / 0.6226 GB, free: 5.461 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.3404, allocations: 2.189 MB / 0.6247 GB, free: 3.105 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.3407, allocations: 35.53 kB / 0.6248 GB, free: 3.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.3407, allocations: 19.94 kB / 0.6248 GB, free: 3.051 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (36): * Single equations (assignments): 34 * 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.0002147/0.341, allocations: 165.8 kB / 0.6249 GB, free: 2.879 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.3411, allocations: 59.39 kB / 0.625 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/0.3438, allocations: 0.8634 MB / 0.6258 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.3438, allocations: 7.984 kB / 0.6258 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3438, allocations: 4 kB / 0.6259 GB, free: 1.922 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3438, allocations: 0 / 0.6259 GB, free: 1.922 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/0.3471, allocations: 1.368 MB / 0.6272 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3471, allocations: 0 / 0.6272 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.3473, allocations: 51.92 kB / 0.6272 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002484/0.3498, allocations: 497.5 kB / 0.6277 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.3499, allocations: 8 kB / 0.6277 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.3516, allocations: 2.207 MB / 0.6299 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3516, allocations: 0 / 0.6299 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002903/0.3545, allocations: 1.1 MB / 0.6309 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.3548, allocations: 164.4 kB / 0.6311 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.251e-05/0.3548, allocations: 8 kB / 0.6311 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.3551, allocations: 16.06 kB / 0.6311 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.3552, allocations: 31.89 kB / 0.6312 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.3552, allocations: 12 kB / 0.6312 GB, free: 12.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003768/0.3556, allocations: 342.8 kB / 0.6315 GB, free: 11.85 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3556, allocations: 0 / 0.6315 GB, free: 11.85 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000657/0.3562, allocations: 195.5 kB / 0.6317 GB, free: 11.66 MB / 494.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 (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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004797/0.3567, allocations: 299.5 kB / 0.632 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000874/0.3576, allocations: 481.5 kB / 0.6324 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3576, allocations: 4.312 kB / 0.6324 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004606/0.3581, allocations: 314.4 kB / 0.6327 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008556/0.359, allocations: 165.5 kB / 0.6329 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.3607, allocations: 1.12 MB / 0.634 GB, free: 9.238 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.3612, allocations: 0.8627 MB / 0.6348 GB, free: 8.348 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.3613, allocations: 55.42 kB / 0.6349 GB, free: 8.293 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3613, allocations: 0 / 0.6349 GB, free: 8.293 MB / 494.1 MB Notification: Performance of Templates: time 0.01507/0.3764, allocations: 13.43 MB / 0.648 GB, free: 10.88 MB / 0.4981 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (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) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches