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.001607/0.001607, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001268/0.001268, allocations: 191.9 kB / 16.14 MB, free: 6.711 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.351/1.351, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6789/0.6789, allocations: 91.2 MB / 381.2 MB, free: 9.578 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 78.22 kB / 459.6 MB, free: 23.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.108, allocations: 67.69 MB / 0.515 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02446/0.1325, allocations: 23.32 MB / 0.5377 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.1433, allocations: 9.536 MB / 0.547 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009536/0.1443, allocations: 35.75 kB / 0.5471 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.1456, allocations: 350.1 kB / 0.5474 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002249/0.1479, allocations: 0.7145 MB / 0.5481 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.1491, allocations: 422.7 kB / 0.5485 GB, free: 8.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.1506, allocations: 1.26 MB / 0.5497 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.151, allocations: 222.3 kB / 0.55 GB, free: 6.664 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008343/0.1519, allocations: 441.8 kB / 0.5504 GB, free: 6.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005505/0.1524, allocations: 429.8 kB / 0.5508 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.1526, allocations: 40 kB / 0.5508 GB, free: 5.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.1539, allocations: 495.5 kB / 0.5513 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.1541, allocations: 147.2 kB / 0.5514 GB, free: 5.141 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004266/0.1546, allocations: 413.5 kB / 0.5518 GB, free: 4.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.1563, allocations: 1.114 MB / 0.5529 GB, free: 3.617 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1563, allocations: 3.984 kB / 0.5529 GB, free: 3.613 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1563, allocations: 0 / 0.5529 GB, free: 3.613 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.288e-05/0.1563, allocations: 0 / 0.5529 GB, free: 3.613 MB / 430.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.0023/0.1586, allocations: 1.246 MB / 0.5541 GB, free: 2.316 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1587, allocations: 12.03 kB / 0.5542 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003051/0.159, allocations: 103.7 kB / 0.5543 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009079/0.1599, allocations: 0.6048 MB / 0.5548 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.16, allocations: 45.31 kB / 0.5549 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.617e-05/0.1601, allocations: 63.91 kB / 0.5549 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.1612, allocations: 0.6691 MB / 0.5556 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.1612, allocations: 4 kB / 0.5556 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-05/0.1613, allocations: 24 kB / 0.5556 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.1613, allocations: 16 kB / 0.5556 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.1623, allocations: 0.6258 MB / 0.5563 GB, free: 92 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003676/0.166, allocations: 3.003 MB / 0.5592 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.1671, allocations: 0.6694 MB / 0.5598 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004423/0.1676, allocations: 287.3 kB / 0.5601 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002055/0.1696, allocations: 1.897 MB / 0.562 GB, free: 9.738 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.1697, allocations: 47.06 kB / 0.562 GB, free: 9.684 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.034e-06/0.1697, allocations: 0 / 0.562 GB, free: 9.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.01062/0.1803, allocations: 2.428 MB / 0.5644 GB, free: 7.184 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.1804, allocations: 81.67 kB / 0.5645 GB, free: 7.086 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/0.1811, allocations: 0.5942 MB / 0.565 GB, free: 6.484 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.074e-05/0.1812, allocations: 37.7 kB / 0.5651 GB, free: 6.441 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.1815, allocations: 376.3 kB / 0.5654 GB, free: 6.066 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.1816, allocations: 228.7 kB / 0.5657 GB, free: 5.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.1818, allocations: 118.2 kB / 0.5658 GB, free: 5.719 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.182, allocations: 386.7 kB / 0.5661 GB, free: 5.332 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/0.1823, allocations: 201.2 kB / 0.5663 GB, free: 5.137 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004263/0.1828, allocations: 306.8 kB / 0.5666 GB, free: 4.809 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008261/0.1836, allocations: 0.5276 MB / 0.5671 GB, free: 4.254 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1836, allocations: 0 / 0.5671 GB, free: 4.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005238/0.1889, allocations: 1.381 MB / 0.5685 GB, free: 2.855 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1889, allocations: 6.344 kB / 0.5685 GB, free: 2.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1889, allocations: 7.938 kB / 0.5685 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005209/0.1941, allocations: 0.9391 MB / 0.5694 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.1945, allocations: 95.89 kB / 0.5695 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.197, allocations: 2.83 MB / 0.5723 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005182/0.1976, allocations: 67.48 kB / 0.5723 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.1976, allocations: 28 kB / 0.5724 GB, free: 14.7 MB / 462.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.0003105/0.1979, allocations: 197.7 kB / 0.5725 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.1981, allocations: 79 kB / 0.5726 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005618/0.2037, allocations: 1.488 MB / 0.5741 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.2038, allocations: 4.188 kB / 0.5741 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2038, allocations: 8 kB / 0.5741 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.2038, allocations: 3.984 kB / 0.5741 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00628/0.2101, allocations: 2.14 MB / 0.5762 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.2101, allocations: 4 kB / 0.5762 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.2104, allocations: 71.91 kB / 0.5763 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005095/0.2155, allocations: 0.939 MB / 0.5772 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.2156, allocations: 16 kB / 0.5772 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002366/0.218, allocations: 2.822 MB / 0.5799 GB, free: 6.625 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.218, allocations: 7.969 kB / 0.5799 GB, free: 6.617 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005501/0.2235, allocations: 1.771 MB / 0.5817 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.2238, allocations: 204.2 kB / 0.5819 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.2239, allocations: 20 kB / 0.5819 GB, free: 4.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.2243, allocations: 35.83 kB / 0.5819 GB, free: 4.543 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.2244, allocations: 44.44 kB / 0.582 GB, free: 4.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.2245, allocations: 27.98 kB / 0.582 GB, free: 4.469 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005103/0.225, allocations: 419 kB / 0.5824 GB, free: 4.066 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.225, allocations: 0 / 0.5824 GB, free: 4.066 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008588/0.2259, allocations: 287.6 kB / 0.5827 GB, free: 3.785 MB / 462.1 MB 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.0005679/0.2265, allocations: 402.1 kB / 0.5831 GB, free: 3.391 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.2278, allocations: 0.694 MB / 0.5837 GB, free: 2.688 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2278, allocations: 0 / 0.5837 GB, free: 2.688 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007426/0.2286, allocations: 441.8 kB / 0.5842 GB, free: 2.242 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.2297, allocations: 205.7 kB / 0.5843 GB, free: 2.047 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.2324, allocations: 1.828 MB / 0.5861 GB, free: 184 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1988/0.4313, allocations: 0.9458 MB / 0.5871 GB, free: 71.81 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000518/0.4318, allocations: 106.3 kB / 0.5872 GB, free: 71.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.432, allocations: 62.56 kB / 0.5872 GB, free: 71.8 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.432, allocations: 0 / 0.5872 GB, free: 71.8 MB / 462.1 MB Notification: Performance of Templates: time 0.0247/0.4567, allocations: 15.12 MB / 0.602 GB, free: 67.91 MB / 462.1 MB 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