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.001595/0.001595, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.002068/0.002068, allocations: 196.5 kB / 16.14 MB, free: 6.703 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.465/1.465, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7104/0.7104, allocations: 91.2 MB / 381.2 MB, free: 9.57 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 78.41 kB / 459.6 MB, free: 23.4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1107, allocations: 67.69 MB / 0.515 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01805/0.1287, allocations: 17.7 MB / 0.5322 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007673/0.1364, allocations: 6.84 MB / 0.5389 GB, free: 2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009574/0.1375, allocations: 23.81 kB / 0.5389 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008961/0.1384, allocations: 250.6 kB / 0.5392 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.1398, allocations: 481.1 kB / 0.5396 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009798/0.1408, allocations: 342.9 kB / 0.54 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009282/0.1418, allocations: 0.8673 MB / 0.5408 GB, free: 52 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.142, allocations: 129.3 kB / 0.5409 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005139/0.1425, allocations: 314.4 kB / 0.5412 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.1428, allocations: 294.4 kB / 0.5415 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.601e-05/0.1429, allocations: 28 kB / 0.5415 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008743/0.1438, allocations: 343.6 kB / 0.5419 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.1439, allocations: 99.42 kB / 0.542 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.1442, allocations: 286.3 kB / 0.5422 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009626/0.1451, allocations: 0.7709 MB / 0.543 GB, free: 13.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1452, allocations: 3.984 kB / 0.543 GB, free: 13.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1452, allocations: 0 / 0.543 GB, free: 13.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.1452, allocations: 0 / 0.543 GB, free: 13.8 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001563/0.1468, allocations: 0.9502 MB / 0.5439 GB, free: 12.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1468, allocations: 12.03 kB / 0.5439 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.147, allocations: 80 kB / 0.544 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.1477, allocations: 483.6 kB / 0.5445 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.1477, allocations: 36.88 kB / 0.5445 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.293e-05/0.1478, allocations: 44 kB / 0.5446 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006941/0.1485, allocations: 459.8 kB / 0.545 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1485, allocations: 0 / 0.545 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.1486, allocations: 16 kB / 0.545 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.1486, allocations: 8 kB / 0.545 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000643/0.1492, allocations: 411.7 kB / 0.5454 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002444/0.1517, allocations: 2.068 MB / 0.5474 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007007/0.1524, allocations: 405.3 kB / 0.5478 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.1527, allocations: 177.7 kB / 0.548 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00151/0.1542, allocations: 1.408 MB / 0.5494 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1543, allocations: 46.83 kB / 0.5494 GB, free: 6.754 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 1.633e-06/0.1543, allocations: 0 / 0.5494 GB, free: 6.754 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.006171/0.1605, allocations: 1.452 MB / 0.5508 GB, free: 5.254 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.1605, allocations: 93.02 kB / 0.5509 GB, free: 5.145 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005326/0.1611, allocations: 474.9 kB / 0.5514 GB, free: 4.668 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.1611, allocations: 29.7 kB / 0.5514 GB, free: 4.633 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.1613, allocations: 280.4 kB / 0.5517 GB, free: 4.355 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.1614, allocations: 145.9 kB / 0.5518 GB, free: 4.211 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.1616, allocations: 70.14 kB / 0.5519 GB, free: 4.133 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1617, allocations: 366.8 kB / 0.5522 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.162, allocations: 124.8 kB / 0.5523 GB, free: 3.645 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.1623, allocations: 181.8 kB / 0.5525 GB, free: 3.449 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005193/0.1628, allocations: 335 kB / 0.5528 GB, free: 3.105 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1628, allocations: 0 / 0.5528 GB, free: 3.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002949/0.1657, allocations: 0.7949 MB / 0.5536 GB, free: 2.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1658, allocations: 4 kB / 0.5536 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1658, allocations: 4 kB / 0.5536 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002751/0.1686, allocations: 0.4894 MB / 0.5541 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.1688, allocations: 63.91 kB / 0.5541 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.1706, allocations: 2.098 MB / 0.5562 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.1709, allocations: 39.72 kB / 0.5562 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.1709, allocations: 19.98 kB / 0.5563 GB, free: 15.41 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.0002334/0.1712, allocations: 165.7 kB / 0.5564 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.1713, allocations: 59.25 kB / 0.5565 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/0.1743, allocations: 0.8603 MB / 0.5573 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1744, allocations: 4 kB / 0.5573 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1744, allocations: 0 / 0.5573 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.1744, allocations: 11.98 kB / 0.5573 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003557/0.1779, allocations: 1.371 MB / 0.5587 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.178, allocations: 4 kB / 0.5587 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.1782, allocations: 47.97 kB / 0.5587 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002707/0.1809, allocations: 0.4894 MB / 0.5592 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.1809, allocations: 12 kB / 0.5592 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.1826, allocations: 2.086 MB / 0.5612 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1826, allocations: 0 / 0.5612 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/0.1858, allocations: 1.09 MB / 0.5623 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.186, allocations: 168.2 kB / 0.5625 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.811e-05/0.1861, allocations: 15.94 kB / 0.5625 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.1864, allocations: 20.05 kB / 0.5625 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/0.1865, allocations: 31.91 kB / 0.5625 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.1865, allocations: 15.98 kB / 0.5625 GB, free: 8.656 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003768/0.1869, allocations: 334.9 kB / 0.5629 GB, free: 8.332 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1869, allocations: 4 kB / 0.5629 GB, free: 8.328 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006389/0.1876, allocations: 191.7 kB / 0.563 GB, free: 8.141 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.0003982/0.188, allocations: 295.4 kB / 0.5633 GB, free: 7.844 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009064/0.1889, allocations: 482 kB / 0.5638 GB, free: 7.359 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1889, allocations: 0 / 0.5638 GB, free: 7.359 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00051/0.1894, allocations: 302.6 kB / 0.5641 GB, free: 7.051 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.1905, allocations: 152.1 kB / 0.5642 GB, free: 6.906 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.1925, allocations: 1.313 MB / 0.5655 GB, free: 5.555 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.1929, allocations: 0.8671 MB / 0.5664 GB, free: 4.664 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002746/0.1932, allocations: 82.98 kB / 0.5664 GB, free: 4.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.827e-05/0.1933, allocations: 43.42 kB / 0.5665 GB, free: 4.547 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1933, allocations: 0 / 0.5665 GB, free: 4.547 MB / 446.1 MB Notification: Performance of Templates: time 0.01656/0.2099, allocations: 10.04 MB / 0.5763 GB, free: 10.6 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches