Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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.001946/0.001946, allocations: 80.69 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.002281/0.002281, allocations: 162.8 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.426/1.426, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.9695/0.9695, allocations: 116 MB / 375.2 MB, free: 7.535 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.5538 GB, free: 13.76 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.816e-05, allocations: 2.281 kB / 0.5538 GB, free: 13.76 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02755/0.02758, allocations: 22.19 MB / 0.5754 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.03947, allocations: 7.907 MB / 0.5831 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.04074, allocations: 51.56 kB / 0.5832 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.04195, allocations: 369.1 kB / 0.5835 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.04473, allocations: 0.8882 MB / 0.5844 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.04637, allocations: 494 kB / 0.5849 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001797/0.04816, allocations: 1.302 MB / 0.5862 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/0.04849, allocations: 144 kB / 0.5863 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.04966, allocations: 0.6856 MB / 0.587 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005362/0.05019, allocations: 354.8 kB / 0.5873 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.05031, allocations: 60 kB / 0.5874 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.0516, allocations: 487.1 kB / 0.5878 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.05179, allocations: 163.2 kB / 0.588 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003601/0.05215, allocations: 303.2 kB / 0.5883 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.05405, allocations: 1.242 MB / 0.5895 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.05406, allocations: 4 kB / 0.5895 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.05406, allocations: 0 / 0.5895 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.05407, allocations: 0 / 0.5895 GB, free: 9.023 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.002406/0.05648, allocations: 1.235 MB / 0.5907 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.05652, allocations: 12.03 kB / 0.5907 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003875/0.05691, allocations: 120.2 kB / 0.5908 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.05819, allocations: 0.6031 MB / 0.5914 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.05824, allocations: 45.69 kB / 0.5915 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.05837, allocations: 71.89 kB / 0.5915 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.05963, allocations: 0.6855 MB / 0.5922 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.05965, allocations: 3.938 kB / 0.5922 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-05/0.05971, allocations: 28 kB / 0.5922 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.05973, allocations: 16 kB / 0.5922 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.06088, allocations: 0.6336 MB / 0.5929 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/0.06452, allocations: 2.122 MB / 0.5949 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.06567, allocations: 0.5824 MB / 0.5955 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004415/0.06611, allocations: 236.6 kB / 0.5957 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002092/0.0682, allocations: 0.9665 MB / 0.5967 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.06824, allocations: 43.06 kB / 0.5967 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=58): time 2.575e-06/0.06824, allocations: 0 / 0.5967 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58): time 0.004179/0.07242, allocations: 1.03 MB / 0.5977 GB, free: 384 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.07249, allocations: 85.61 kB / 0.5978 GB, free: 280 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000875/0.07337, allocations: 0.6257 MB / 0.5984 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.07342, allocations: 33.7 kB / 0.5984 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.07382, allocations: 432.4 kB / 0.5988 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.07402, allocations: 206.2 kB / 0.599 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.07425, allocations: 130.6 kB / 0.5992 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.07445, allocations: 338.1 kB / 0.5995 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.07482, allocations: 165.9 kB / 0.5997 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.07532, allocations: 309.2 kB / 0.5999 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008654/0.07618, allocations: 0.4949 MB / 0.6004 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.07619, allocations: 0 / 0.6004 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0025/0.07869, allocations: 0.835 MB / 0.6012 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.07871, allocations: 18.33 kB / 0.6013 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.07872, allocations: 4 kB / 0.6013 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002039/0.08076, allocations: 310.2 kB / 0.6016 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.08122, allocations: 111.8 kB / 0.6017 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.08397, allocations: 2.678 MB / 0.6043 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.08447, allocations: 59.56 kB / 0.6043 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.08453, allocations: 27.98 kB / 0.6044 GB, free: 9.223 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (67): * Single equations (assignments): 64 * 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,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003573/0.08489, allocations: 197.7 kB / 0.6046 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.08505, allocations: 87.38 kB / 0.6046 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.08728, allocations: 0.8259 MB / 0.6054 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.08729, allocations: 4 kB / 0.6054 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.08729, allocations: 4 kB / 0.6055 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.0873, allocations: 7.922 kB / 0.6055 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.09003, allocations: 1.229 MB / 0.6067 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.09003, allocations: 4 kB / 0.6067 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.09037, allocations: 75.89 kB / 0.6067 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00192/0.09229, allocations: 298.4 kB / 0.607 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/0.09234, allocations: 20 kB / 0.607 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/0.09492, allocations: 2.674 MB / 0.6097 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.09492, allocations: 4.344 kB / 0.6097 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.09708, allocations: 1.008 MB / 0.6106 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/0.09737, allocations: 131.3 kB / 0.6108 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.036e-05/0.09746, allocations: 15.94 kB / 0.6108 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.09781, allocations: 15.98 kB / 0.6108 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.09791, allocations: 40.42 kB / 0.6108 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.09795, allocations: 20 kB / 0.6109 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005662/0.09852, allocations: 435 kB / 0.6113 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.09852, allocations: 4 kB / 0.6113 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009102/0.09943, allocations: 291.4 kB / 0.6116 GB, free: 1.594 MB / 0.5137 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 (42): * Single equations (assignments): 39 * 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,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005768/0.1, allocations: 385 kB / 0.6119 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.1014, allocations: 0.5995 MB / 0.6125 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1014, allocations: 0 / 0.6125 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008052/0.1022, allocations: 370 kB / 0.6129 GB, free: 236 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.1036, allocations: 268.9 kB / 0.6131 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.1062, allocations: 1.441 MB / 0.6145 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.1066, allocations: 366.2 kB / 0.6149 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004262/0.107, allocations: 117.6 kB / 0.615 GB, free: 14 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.1072, allocations: 56.48 kB / 0.615 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.1072, allocations: 0 / 0.615 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of Templates: time 0.0273/0.1345, allocations: 14.83 MB / 0.6295 GB, free: 15.39 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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: 6.218906134366989]