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.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_dev_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_dev_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.001832/0.001832, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.002149/0.002149, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.414/1.414, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7505/0.7505, allocations: 93.69 MB / 384.4 MB, free: 5.469 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 87.84 kB / 463.5 MB, free: 6.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1299, allocations: 68.27 MB / 0.5194 GB, free: 2.137 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.2332/0.3631, allocations: 17.66 MB / 0.5366 GB, free: 34.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006067/0.3692, allocations: 6.814 MB / 0.5432 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008417/0.3701, allocations: 29.59 kB / 0.5433 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007982/0.371, allocations: 254 kB / 0.5435 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.3724, allocations: 488.7 kB / 0.544 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008111/0.3732, allocations: 333.2 kB / 0.5443 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007719/0.374, allocations: 0.8108 MB / 0.5451 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.3742, allocations: 144.2 kB / 0.5452 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005478/0.3748, allocations: 356.3 kB / 0.5456 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.3751, allocations: 298 kB / 0.5459 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.3751, allocations: 40.12 kB / 0.5459 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008614/0.376, allocations: 367 kB / 0.5462 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.3761, allocations: 100.9 kB / 0.5463 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.3763, allocations: 307.2 kB / 0.5466 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007096/0.377, allocations: 0.5928 MB / 0.5472 GB, free: 29.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3771, allocations: 5.203 kB / 0.5472 GB, free: 29.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3771, allocations: 0 / 0.5472 GB, free: 29.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.3771, allocations: 2.625 kB / 0.5472 GB, free: 29.82 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001393/0.3785, allocations: 0.9633 MB / 0.5482 GB, free: 29.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3785, allocations: 10.34 kB / 0.5482 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.3787, allocations: 77.05 kB / 0.5482 GB, free: 29.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005649/0.3793, allocations: 494.1 kB / 0.5487 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.3793, allocations: 38.81 kB / 0.5488 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.19e-05/0.3794, allocations: 39.47 kB / 0.5488 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006712/0.3801, allocations: 460.6 kB / 0.5492 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.3801, allocations: 0.6562 kB / 0.5492 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.3802, allocations: 16.12 kB / 0.5492 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3802, allocations: 9.469 kB / 0.5493 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005936/0.3808, allocations: 408.7 kB / 0.5496 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.383, allocations: 2.071 MB / 0.5517 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006069/0.3836, allocations: 411 kB / 0.5521 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.3839, allocations: 179.9 kB / 0.5522 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/0.3851, allocations: 1.405 MB / 0.5536 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.3851, allocations: 45.08 kB / 0.5536 GB, free: 25.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.793e-06/0.3851, allocations: 0 / 0.5536 GB, free: 25.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=41): time 0.00575/0.3909, allocations: 1.46 MB / 0.5551 GB, free: 25.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.3909, allocations: 85.17 kB / 0.5552 GB, free: 24.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/0.3915, allocations: 473.8 kB / 0.5556 GB, free: 24.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.3915, allocations: 35.27 kB / 0.5556 GB, free: 24.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.3917, allocations: 290.3 kB / 0.5559 GB, free: 24.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.711e-05/0.3918, allocations: 143.1 kB / 0.5561 GB, free: 24.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3919, allocations: 70.31 kB / 0.5561 GB, free: 24.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.435e-05/0.392, allocations: 375.3 kB / 0.5565 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.3922, allocations: 121.7 kB / 0.5566 GB, free: 23.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.3924, allocations: 183.2 kB / 0.5568 GB, free: 23.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.3929, allocations: 328 kB / 0.5571 GB, free: 23.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.3929, allocations: 5.062 kB / 0.5571 GB, free: 23.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002714/0.3956, allocations: 0.7976 MB / 0.5579 GB, free: 23.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.3957, allocations: 6.281 kB / 0.5579 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.3957, allocations: 4.875 kB / 0.5579 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002813/0.3985, allocations: 499.4 kB / 0.5584 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.3989, allocations: 65.86 kB / 0.5584 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.4003, allocations: 2.192 MB / 0.5606 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.4008, allocations: 49.45 kB / 0.5606 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.4008, allocations: 20.38 kB / 0.5606 GB, free: 21.14 MB / 446.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.0002393/0.4011, allocations: 162.5 kB / 0.5608 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.4012, allocations: 66.12 kB / 0.5608 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/0.4041, allocations: 0.8594 MB / 0.5617 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.4041, allocations: 4.062 kB / 0.5617 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.4041, allocations: 5.938 kB / 0.5617 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.4042, allocations: 2.484 kB / 0.5617 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003617/0.4078, allocations: 1.37 MB / 0.563 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.4078, allocations: 1.75 kB / 0.563 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.4081, allocations: 50.86 kB / 0.5631 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0027/0.4108, allocations: 493.5 kB / 0.5635 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-05/0.4108, allocations: 20.83 kB / 0.5636 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.4123, allocations: 2.196 MB / 0.5657 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4123, allocations: 1.766 kB / 0.5657 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/0.4155, allocations: 1.104 MB / 0.5668 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/0.4158, allocations: 166.5 kB / 0.567 GB, free: 17.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.092e-05/0.4158, allocations: 8.625 kB / 0.567 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.4161, allocations: 19.92 kB / 0.567 GB, free: 17.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.875e-05/0.4163, allocations: 28.3 kB / 0.567 GB, free: 17.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.4163, allocations: 14.03 kB / 0.567 GB, free: 17.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004109/0.4167, allocations: 351.3 kB / 0.5674 GB, free: 16.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4167, allocations: 0 / 0.5674 GB, free: 16.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006933/0.4174, allocations: 191.4 kB / 0.5675 GB, free: 16.87 MB / 446.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.0004676/0.4179, allocations: 312 kB / 0.5678 GB, free: 16.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009955/0.4189, allocations: 482.7 kB / 0.5683 GB, free: 16.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4189, allocations: 1.531 kB / 0.5683 GB, free: 16.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004624/0.4194, allocations: 315.2 kB / 0.5686 GB, free: 16.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.4204, allocations: 158.9 kB / 0.5687 GB, free: 16.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.4224, allocations: 1.347 MB / 0.5701 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.4228, allocations: 0.871 MB / 0.5709 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.423, allocations: 51.48 kB / 0.571 GB, free: 14.62 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.423, allocations: 0 / 0.571 GB, free: 14.62 MB / 446.1 MB Notification: Performance of Templates: time 0.01932/0.4423, allocations: 13.54 MB / 0.5842 GB, free: 10.58 MB / 446.1 MB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches