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.00152/0.00152, allocations: 110.5 kB / 16.41 MB, free: 6.504 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.001673/0.001673, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.314/1.314, allocations: 222.9 MB / 241 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.6682/0.6682, allocations: 91.18 MB / 382.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 75.88 kB / 0.5175 GB, free: 4.113 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3231, allocations: 67.68 MB / 0.5836 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01871/0.3418, allocations: 22.85 MB / 0.6059 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.3522, allocations: 9.442 MB / 0.6151 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007908/0.353, allocations: 31.75 kB / 0.6152 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.3541, allocations: 405.3 kB / 0.6156 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.3561, allocations: 0.7878 MB / 0.6163 GB, free: 12.51 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.3572, allocations: 478.4 kB / 0.6168 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.3585, allocations: 1.135 MB / 0.6179 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003374/0.3588, allocations: 247.1 kB / 0.6181 GB, free: 10.65 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006505/0.3595, allocations: 474 kB / 0.6186 GB, free: 10.19 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.36, allocations: 437.8 kB / 0.619 GB, free: 9.758 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.775e-05/0.36, allocations: 60 kB / 0.6191 GB, free: 9.699 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.3613, allocations: 0.5112 MB / 0.6196 GB, free: 9.188 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.3615, allocations: 159.2 kB / 0.6197 GB, free: 9.031 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003482/0.3618, allocations: 437.5 kB / 0.6201 GB, free: 8.602 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.3633, allocations: 1.185 MB / 0.6213 GB, free: 7.414 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3633, allocations: 0 / 0.6213 GB, free: 7.414 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3633, allocations: 3.938 kB / 0.6213 GB, free: 7.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.3633, allocations: 0 / 0.6213 GB, free: 7.41 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.001981/0.3653, allocations: 1.254 MB / 0.6225 GB, free: 6.105 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3654, allocations: 8.031 kB / 0.6225 GB, free: 6.098 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.3656, allocations: 111.7 kB / 0.6226 GB, free: 5.988 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000971/0.3666, allocations: 0.6477 MB / 0.6233 GB, free: 5.301 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.3666, allocations: 49.31 kB / 0.6233 GB, free: 5.254 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.832e-05/0.3667, allocations: 64 kB / 0.6234 GB, free: 5.191 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.3678, allocations: 0.6653 MB / 0.624 GB, free: 4.504 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.3678, allocations: 0 / 0.624 GB, free: 4.504 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/0.3678, allocations: 20 kB / 0.624 GB, free: 4.484 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.3679, allocations: 23.94 kB / 0.6241 GB, free: 4.461 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009686/0.3688, allocations: 0.6258 MB / 0.6247 GB, free: 3.836 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003465/0.3723, allocations: 2.995 MB / 0.6276 GB, free: 0.582 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.3734, allocations: 0.665 MB / 0.6282 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004086/0.3738, allocations: 289.7 kB / 0.6285 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00202/0.3758, allocations: 1.908 MB / 0.6304 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.3759, allocations: 39.11 kB / 0.6304 GB, free: 13.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 1.944e-06/0.3759, allocations: 0 / 0.6304 GB, free: 13.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.009786/0.3857, allocations: 2.431 MB / 0.6328 GB, free: 10.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.3857, allocations: 85.67 kB / 0.6329 GB, free: 10.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006994/0.3865, allocations: 0.5824 MB / 0.6334 GB, free: 10.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.018e-05/0.3865, allocations: 37.7 kB / 0.6335 GB, free: 10.19 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.3868, allocations: 380.3 kB / 0.6338 GB, free: 9.809 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.387, allocations: 228.7 kB / 0.6341 GB, free: 9.582 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.3871, allocations: 122.3 kB / 0.6342 GB, free: 9.457 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3873, allocations: 386.8 kB / 0.6346 GB, free: 9.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.3877, allocations: 205.2 kB / 0.6347 GB, free: 8.867 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/0.3881, allocations: 298.8 kB / 0.635 GB, free: 8.547 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008098/0.3889, allocations: 0.5315 MB / 0.6356 GB, free: 7.988 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3889, allocations: 0 / 0.6356 GB, free: 7.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004918/0.3939, allocations: 1.381 MB / 0.6369 GB, free: 6.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.3939, allocations: 10.97 kB / 0.6369 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3939, allocations: 64 / 0.6369 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004933/0.3988, allocations: 0.9352 MB / 0.6378 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.3993, allocations: 107.8 kB / 0.6379 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.4018, allocations: 2.931 MB / 0.6408 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.4023, allocations: 67.25 kB / 0.6409 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.4023, allocations: 24 kB / 0.6409 GB, free: 2.324 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.000304/0.4027, allocations: 205.7 kB / 0.6411 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.4028, allocations: 75.06 kB / 0.6411 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005034/0.4078, allocations: 1.487 MB / 0.6426 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.4079, allocations: 8 kB / 0.6426 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4079, allocations: 7.922 kB / 0.6426 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4079, allocations: 0 / 0.6426 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005825/0.4137, allocations: 2.145 MB / 0.6447 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.4138, allocations: 4 kB / 0.6447 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.4141, allocations: 71.91 kB / 0.6448 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004838/0.4189, allocations: 0.939 MB / 0.6457 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.466e-05/0.419, allocations: 19.98 kB / 0.6457 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.4214, allocations: 2.941 MB / 0.6486 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4214, allocations: 0 / 0.6486 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005289/0.4267, allocations: 1.764 MB / 0.6503 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002992/0.4271, allocations: 207.9 kB / 0.6505 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.711e-05/0.4271, allocations: 12.19 kB / 0.6505 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003417/0.4275, allocations: 27.92 kB / 0.6505 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.9e-05/0.4276, allocations: 48.5 kB / 0.6506 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.4276, allocations: 16 kB / 0.6506 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004823/0.4281, allocations: 423 kB / 0.651 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4281, allocations: 0 / 0.651 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008235/0.429, allocations: 299.4 kB / 0.6513 GB, free: 7.305 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.0005474/0.4295, allocations: 394.6 kB / 0.6517 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.4308, allocations: 0.6862 MB / 0.6523 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4308, allocations: 0.5 kB / 0.6523 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006879/0.4315, allocations: 453.6 kB / 0.6528 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.4326, allocations: 216.9 kB / 0.653 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.435, allocations: 1.548 MB / 0.6545 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.4355, allocations: 0.9424 MB / 0.6554 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.4357, allocations: 71.41 kB / 0.6555 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.4357, allocations: 0 / 0.6555 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of Templates: time 0.02438/0.46, allocations: 22.16 MB / 0.6771 GB, free: 12.79 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches