Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_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_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.005818/0.005817, allocations: 101.6 kB / 15.88 MB, free: 5.863 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.001465/0.001465, allocations: 189.7 kB / 16.79 MB, free: 5.805 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.303/1.303, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6222/0.6222, allocations: 89.52 MB / 380.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 77.69 kB / 458.2 MB, free: 23.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.105, allocations: 67.31 MB / 0.5132 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01781/0.1228, allocations: 17.4 MB / 0.5302 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00697/0.1298, allocations: 6.766 MB / 0.5368 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008606/0.1307, allocations: 11.94 kB / 0.5368 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007802/0.1315, allocations: 246.7 kB / 0.537 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.1329, allocations: 457.3 kB / 0.5375 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007691/0.1336, allocations: 326.9 kB / 0.5378 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007628/0.1344, allocations: 0.8011 MB / 0.5386 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.1346, allocations: 132.9 kB / 0.5387 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004077/0.135, allocations: 270.8 kB / 0.539 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.1353, allocations: 278.6 kB / 0.5392 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.015e-05/0.1354, allocations: 28 kB / 0.5393 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008091/0.1362, allocations: 343.6 kB / 0.5396 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.688e-05/0.1363, allocations: 91.5 kB / 0.5397 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.1365, allocations: 262.6 kB / 0.5399 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005871/0.1371, allocations: 0.5341 MB / 0.5404 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1371, allocations: 0 / 0.5404 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1371, allocations: 0 / 0.5404 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1372, allocations: 0 / 0.5404 GB, free: 0.8945 MB / 414.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.001425/0.1386, allocations: 0.8766 MB / 0.5413 GB, free: 15.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1386, allocations: 8.031 kB / 0.5413 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.1388, allocations: 60.28 kB / 0.5414 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.1393, allocations: 385.9 kB / 0.5417 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.1393, allocations: 29.38 kB / 0.5418 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.128e-05/0.1394, allocations: 48.36 kB / 0.5418 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006936/0.1401, allocations: 463.7 kB / 0.5422 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1401, allocations: 0 / 0.5422 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.1402, allocations: 16 kB / 0.5423 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1402, allocations: 11.98 kB / 0.5423 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006554/0.1409, allocations: 411.7 kB / 0.5427 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.1432, allocations: 2.025 MB / 0.5446 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006661/0.1439, allocations: 417.1 kB / 0.545 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.1442, allocations: 181.7 kB / 0.5452 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/0.1455, allocations: 1.412 MB / 0.5466 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.1456, allocations: 38.89 kB / 0.5466 GB, free: 10.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 1.643e-06/0.1456, allocations: 0 / 0.5466 GB, free: 10.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.006097/0.1517, allocations: 1.448 MB / 0.548 GB, free: 8.566 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.1518, allocations: 81.11 kB / 0.5481 GB, free: 8.469 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.1522, allocations: 377.6 kB / 0.5485 GB, free: 8.086 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.1522, allocations: 29.7 kB / 0.5485 GB, free: 8.051 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.1524, allocations: 256.2 kB / 0.5488 GB, free: 7.797 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.852e-05/0.1525, allocations: 134 kB / 0.5489 GB, free: 7.664 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.1526, allocations: 82.03 kB / 0.549 GB, free: 7.578 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1527, allocations: 362.8 kB / 0.5493 GB, free: 7.215 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.153, allocations: 120.8 kB / 0.5494 GB, free: 7.098 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.1532, allocations: 193.8 kB / 0.5496 GB, free: 6.891 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.1538, allocations: 335 kB / 0.5499 GB, free: 6.547 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1538, allocations: 0 / 0.5499 GB, free: 6.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002814/0.1566, allocations: 0.7834 MB / 0.5507 GB, free: 5.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1566, allocations: 4 kB / 0.5507 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1567, allocations: 4 kB / 0.5507 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.1595, allocations: 493.2 kB / 0.5512 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.1597, allocations: 67.91 kB / 0.5512 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.1615, allocations: 2.094 MB / 0.5533 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.1618, allocations: 43.61 kB / 0.5533 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.1618, allocations: 19.98 kB / 0.5533 GB, free: 2.871 MB / 430.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.0001876/0.162, allocations: 161.8 kB / 0.5535 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.1621, allocations: 43.47 kB / 0.5535 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002921/0.1651, allocations: 0.8616 MB / 0.5544 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1651, allocations: 4 kB / 0.5544 GB, free: 1.777 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1651, allocations: 3.938 kB / 0.5544 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1651, allocations: 7.984 kB / 0.5544 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/0.1685, allocations: 1.336 MB / 0.5557 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1685, allocations: 4 kB / 0.5557 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.1687, allocations: 51.97 kB / 0.5557 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00259/0.1713, allocations: 497.2 kB / 0.5562 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.1713, allocations: 8 kB / 0.5562 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.1729, allocations: 2.094 MB / 0.5583 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.173, allocations: 3.938 kB / 0.5583 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/0.1759, allocations: 1.075 MB / 0.5593 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.1761, allocations: 160.4 kB / 0.5595 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.1762, allocations: 12 kB / 0.5595 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.1765, allocations: 19.98 kB / 0.5595 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.1766, allocations: 27.91 kB / 0.5595 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.1766, allocations: 15.98 kB / 0.5596 GB, free: 12.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003031/0.1769, allocations: 283.2 kB / 0.5598 GB, free: 11.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1769, allocations: 0 / 0.5598 GB, free: 11.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006126/0.1775, allocations: 187.7 kB / 0.56 GB, free: 11.73 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.0003986/0.1779, allocations: 290.9 kB / 0.5603 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008362/0.1788, allocations: 485.8 kB / 0.5607 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1788, allocations: 0 / 0.5607 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004696/0.1793, allocations: 310.9 kB / 0.561 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008945/0.1802, allocations: 143 kB / 0.5612 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.1819, allocations: 1.211 MB / 0.5624 GB, free: 9.246 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.1823, allocations: 0.8397 MB / 0.5632 GB, free: 8.383 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.724e-05/0.1824, allocations: 39.44 kB / 0.5632 GB, free: 8.344 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1824, allocations: 0 / 0.5632 GB, free: 8.344 MB / 446.1 MB Notification: Performance of Templates: time 0.0134/0.1958, allocations: 11.89 MB / 0.5748 GB, free: 12.48 MB / 462.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches