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.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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005186/0.005186, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001064/0.001064, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7083/0.7083, allocations: 91.18 MB / 381.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 87.88 kB / 0.5168 GB, free: 4.078 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2972, allocations: 67.67 MB / 0.5829 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02311/0.3203, allocations: 22.86 MB / 0.6053 GB, free: 7.188 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.3331, allocations: 9.442 MB / 0.6145 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007409/0.3338, allocations: 27.81 kB / 0.6145 GB, free: 13.69 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009889/0.3348, allocations: 413.2 kB / 0.6149 GB, free: 13.28 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.3374, allocations: 0.7839 MB / 0.6157 GB, free: 12.49 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.339, allocations: 478.3 kB / 0.6161 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001794/0.3409, allocations: 1.139 MB / 0.6172 GB, free: 10.88 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004852/0.3414, allocations: 235.2 kB / 0.6175 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.3424, allocations: 477.9 kB / 0.6179 GB, free: 10.17 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000678/0.3431, allocations: 441.8 kB / 0.6183 GB, free: 9.738 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.3432, allocations: 56 kB / 0.6184 GB, free: 9.684 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.345, allocations: 0.5112 MB / 0.6189 GB, free: 9.172 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.3452, allocations: 159.2 kB / 0.619 GB, free: 9.016 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004974/0.3457, allocations: 437.5 kB / 0.6195 GB, free: 8.586 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.3482, allocations: 1.186 MB / 0.6206 GB, free: 7.398 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.3482, allocations: 0 / 0.6206 GB, free: 7.398 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3482, allocations: 7.938 kB / 0.6206 GB, free: 7.391 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.3483, allocations: 0 / 0.6206 GB, free: 7.391 MB / 478.1 MB 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.002862/0.3511, allocations: 1.25 MB / 0.6218 GB, free: 6.09 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.3512, allocations: 8.031 kB / 0.6218 GB, free: 6.082 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003998/0.3516, allocations: 111.6 kB / 0.622 GB, free: 5.973 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.353, allocations: 0.6438 MB / 0.6226 GB, free: 5.289 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/0.3531, allocations: 45.31 kB / 0.6226 GB, free: 5.246 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.3532, allocations: 64 kB / 0.6227 GB, free: 5.184 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.3547, allocations: 0.673 MB / 0.6233 GB, free: 4.488 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.3547, allocations: 0 / 0.6233 GB, free: 4.488 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.589e-05/0.3548, allocations: 28 kB / 0.6234 GB, free: 4.461 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.3549, allocations: 16 kB / 0.6234 GB, free: 4.445 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.3564, allocations: 0.618 MB / 0.624 GB, free: 3.828 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004987/0.3614, allocations: 3.007 MB / 0.6269 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.3627, allocations: 0.6635 MB / 0.6276 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004088/0.3632, allocations: 287.3 kB / 0.6279 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002/0.3652, allocations: 1.908 MB / 0.6297 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.3652, allocations: 47.12 kB / 0.6298 GB, free: 13.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 2.154e-06/0.3652, allocations: 0 / 0.6298 GB, free: 13.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.009852/0.3751, allocations: 2.42 MB / 0.6321 GB, free: 10.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.3752, allocations: 89.61 kB / 0.6322 GB, free: 10.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007687/0.3759, allocations: 0.5941 MB / 0.6328 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.376, allocations: 37.7 kB / 0.6328 GB, free: 10.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.3763, allocations: 376.3 kB / 0.6332 GB, free: 9.781 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.3765, allocations: 228.7 kB / 0.6334 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.3767, allocations: 118.2 kB / 0.6335 GB, free: 9.434 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3768, allocations: 382.8 kB / 0.6339 GB, free: 9.051 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.3772, allocations: 205.2 kB / 0.6341 GB, free: 8.848 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.3777, allocations: 302.8 kB / 0.6344 GB, free: 8.523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008527/0.3785, allocations: 0.5315 MB / 0.6349 GB, free: 7.965 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3785, allocations: 0 / 0.6349 GB, free: 7.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005004/0.3835, allocations: 1.388 MB / 0.6362 GB, free: 6.559 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.3836, allocations: 4 kB / 0.6362 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3836, allocations: 4 kB / 0.6362 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005042/0.3887, allocations: 0.9275 MB / 0.6372 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.3892, allocations: 103.8 kB / 0.6372 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/0.3921, allocations: 2.929 MB / 0.6401 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006081/0.3927, allocations: 59.31 kB / 0.6402 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.3928, allocations: 28.17 kB / 0.6402 GB, free: 2.309 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0003591/0.3931, allocations: 213.7 kB / 0.6404 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.3933, allocations: 79.06 kB / 0.6405 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00517/0.3984, allocations: 1.489 MB / 0.6419 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.3985, allocations: 8 kB / 0.6419 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3985, allocations: 7.938 kB / 0.6419 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.3985, allocations: 3.984 kB / 0.6419 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00591/0.4044, allocations: 2.129 MB / 0.644 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.4045, allocations: 7.938 kB / 0.644 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.4048, allocations: 75.89 kB / 0.6441 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004913/0.4097, allocations: 0.9352 MB / 0.645 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.4098, allocations: 19.98 kB / 0.645 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00252/0.4123, allocations: 2.945 MB / 0.6479 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4123, allocations: 4.031 kB / 0.6479 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005442/0.4178, allocations: 1.764 MB / 0.6496 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/0.4182, allocations: 211.9 kB / 0.6498 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.381e-05/0.4183, allocations: 16 kB / 0.6499 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.4186, allocations: 16 kB / 0.6499 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.4187, allocations: 44.44 kB / 0.6499 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.4188, allocations: 23.98 kB / 0.6499 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005411/0.4193, allocations: 419.1 kB / 0.6503 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4194, allocations: 0 / 0.6503 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009218/0.4203, allocations: 295.4 kB / 0.6506 GB, free: 7.285 MB / 0.4981 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 (41): * Single equations (assignments): 38 * 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.0006347/0.4209, allocations: 390.7 kB / 0.651 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.4223, allocations: 0.7019 MB / 0.6517 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4223, allocations: 0 / 0.6517 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007098/0.423, allocations: 442.2 kB / 0.6521 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.4241, allocations: 229.3 kB / 0.6523 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.4265, allocations: 1.506 MB / 0.6538 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.427, allocations: 0.9502 MB / 0.6547 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003262/0.4274, allocations: 114.5 kB / 0.6548 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.4275, allocations: 51.44 kB / 0.6549 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4275, allocations: 0 / 0.6549 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of Templates: time 0.02413/0.4516, allocations: 15.91 MB / 0.6704 GB, free: 3.102 MB / 0.5137 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile (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) 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) Reference file matches