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.0009865/0.0009866, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001223/0.001223, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6641/0.6641, allocations: 89.63 MB / 380.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003996, allocations: 15.08 kB / 460 MB, free: 24.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1296, allocations: 68.82 MB / 0.5164 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01928/0.149, allocations: 15.96 MB / 0.532 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007734/0.1568, allocations: 6.244 MB / 0.5381 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005082/0.1573, allocations: 11.94 kB / 0.5381 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007306/0.1581, allocations: 238.6 kB / 0.5384 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.1593, allocations: 445.1 kB / 0.5388 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007727/0.1601, allocations: 282.6 kB / 0.5391 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008856/0.161, allocations: 0.727 MB / 0.5398 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.1612, allocations: 123.2 kB / 0.5399 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005199/0.1618, allocations: 246.9 kB / 0.5401 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.1621, allocations: 246.8 kB / 0.5404 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.018e-05/0.1622, allocations: 20 kB / 0.5404 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000877/0.163, allocations: 271.7 kB / 0.5406 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1631, allocations: 75.56 kB / 0.5407 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.1633, allocations: 117.5 kB / 0.5408 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007217/0.164, allocations: 0.5029 MB / 0.5413 GB, free: 2.168 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.164, allocations: 4 kB / 0.5413 GB, free: 2.164 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.164, allocations: 0 / 0.5413 GB, free: 2.164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1641, allocations: 0 / 0.5413 GB, free: 2.164 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.00146/0.1655, allocations: 0.7908 MB / 0.5421 GB, free: 1.324 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1656, allocations: 8.031 kB / 0.5421 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.1657, allocations: 63.25 kB / 0.5422 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.1663, allocations: 369 kB / 0.5425 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/0.1663, allocations: 33 kB / 0.5425 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.1664, allocations: 36 kB / 0.5426 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007623/0.1672, allocations: 467.8 kB / 0.543 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1672, allocations: 3.938 kB / 0.543 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.1672, allocations: 19.95 kB / 0.543 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.1673, allocations: 12 kB / 0.5431 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006893/0.1679, allocations: 407.7 kB / 0.5434 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.1705, allocations: 2.037 MB / 0.5454 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/0.1712, allocations: 407.7 kB / 0.5458 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.1715, allocations: 181.7 kB / 0.546 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/0.173, allocations: 1.412 MB / 0.5474 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.173, allocations: 38.84 kB / 0.5474 GB, free: 11.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 1.643e-06/0.1731, allocations: 0 / 0.5474 GB, free: 11.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.00505/0.1781, allocations: 1.448 MB / 0.5488 GB, free: 9.926 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.1782, allocations: 93.05 kB / 0.5489 GB, free: 9.816 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/0.1786, allocations: 373.6 kB / 0.5493 GB, free: 9.438 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.1787, allocations: 29.7 kB / 0.5493 GB, free: 9.402 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.1789, allocations: 252.3 kB / 0.5495 GB, free: 9.152 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.179, allocations: 137.9 kB / 0.5497 GB, free: 9.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/0.179, allocations: 12 kB / 0.5497 GB, free: 9.004 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1792, allocations: 358.8 kB / 0.55 GB, free: 8.645 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.1794, allocations: 124.8 kB / 0.5501 GB, free: 8.523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.1797, allocations: 181.8 kB / 0.5503 GB, free: 8.324 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.18, allocations: 157.5 kB / 0.5505 GB, free: 8.172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.18, allocations: 0 / 0.5505 GB, free: 8.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002378/0.1824, allocations: 0.7766 MB / 0.5512 GB, free: 7.383 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1824, allocations: 11.94 kB / 0.5512 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1824, allocations: 4 kB / 0.5512 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/0.1847, allocations: 493.2 kB / 0.5517 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.185, allocations: 63.91 kB / 0.5518 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.187, allocations: 2.094 MB / 0.5538 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.1873, allocations: 39.62 kB / 0.5539 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.1874, allocations: 19.98 kB / 0.5539 GB, free: 4.504 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002659/0.1876, allocations: 161.8 kB / 0.554 GB, free: 4.336 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.1878, allocations: 47.44 kB / 0.5541 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002697/0.1905, allocations: 0.854 MB / 0.5549 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.1905, allocations: 4 kB / 0.5549 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.1905, allocations: 7.984 kB / 0.5549 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1905, allocations: 0 / 0.5549 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003123/0.1936, allocations: 1.34 MB / 0.5562 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1937, allocations: 4.062 kB / 0.5562 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.1939, allocations: 47.92 kB / 0.5563 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/0.1962, allocations: 497.2 kB / 0.5567 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/0.1962, allocations: 8 kB / 0.5568 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.1981, allocations: 2.098 MB / 0.5588 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.1981, allocations: 3.953 kB / 0.5588 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002833/0.2009, allocations: 1.071 MB / 0.5599 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/0.2012, allocations: 168.4 kB / 0.56 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.2013, allocations: 8 kB / 0.56 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002977/0.2016, allocations: 16.05 kB / 0.56 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.2017, allocations: 31.95 kB / 0.5601 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.2017, allocations: 20 kB / 0.5601 GB, free: 13.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003632/0.2021, allocations: 275.1 kB / 0.5603 GB, free: 13.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2021, allocations: 0 / 0.5603 GB, free: 13.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008452/0.2029, allocations: 187.7 kB / 0.5605 GB, free: 13.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005555/0.2035, allocations: 306.8 kB / 0.5608 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.2045, allocations: 482.5 kB / 0.5613 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2046, allocations: 0 / 0.5613 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005097/0.2051, allocations: 306.5 kB / 0.5616 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009164/0.206, allocations: 137.2 kB / 0.5617 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.2081, allocations: 1.278 MB / 0.563 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.2086, allocations: 0.8358 MB / 0.5638 GB, free: 9.965 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002598/0.2088, allocations: 65.83 kB / 0.5638 GB, free: 9.902 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/0.2089, allocations: 35.42 kB / 0.5639 GB, free: 9.867 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2089, allocations: 0 / 0.5639 GB, free: 9.867 MB / 446.1 MB Notification: Performance of Templates: time 0.01813/0.2271, allocations: 9.476 MB / 0.5731 GB, free: 488 kB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches