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.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_dev_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_dev_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.001091/0.001091, 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.001213/0.001213, allocations: 193.7 kB / 16.14 MB, free: 6.715 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.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6712/0.6712, allocations: 93.71 MB / 383.7 MB, free: 7.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 83.22 kB / 462.7 MB, free: 22.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1271, allocations: 68.26 MB / 0.5185 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02362/0.1508, allocations: 23.34 MB / 0.5413 GB, free: 56 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.1612, allocations: 9.552 MB / 0.5506 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.1623, allocations: 39.75 kB / 0.5507 GB, free: 6.438 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.1634, allocations: 362 kB / 0.551 GB, free: 6.082 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.1653, allocations: 0.7146 MB / 0.5517 GB, free: 5.363 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.1664, allocations: 422.7 kB / 0.5521 GB, free: 4.949 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.1677, allocations: 1.283 MB / 0.5534 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003256/0.1681, allocations: 214.4 kB / 0.5536 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006442/0.1687, allocations: 449.8 kB / 0.554 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004099/0.1691, allocations: 429.8 kB / 0.5544 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.861e-05/0.1692, allocations: 40 kB / 0.5545 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.1705, allocations: 491.5 kB / 0.5549 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.1707, allocations: 147.2 kB / 0.5551 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003886/0.1711, allocations: 413.5 kB / 0.5555 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.1725, allocations: 1.121 MB / 0.5566 GB, free: 384 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1725, allocations: 0 / 0.5566 GB, free: 384 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1725, allocations: 0 / 0.5566 GB, free: 384 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1725, allocations: 0 / 0.5566 GB, free: 384 kB / 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.002138/0.1747, allocations: 1.254 MB / 0.5578 GB, free: 15.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1747, allocations: 12.03 kB / 0.5578 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002803/0.175, allocations: 107.6 kB / 0.5579 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000826/0.1758, allocations: 0.6048 MB / 0.5585 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.1759, allocations: 49.31 kB / 0.5585 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.176, allocations: 67.91 kB / 0.5586 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.1771, allocations: 0.6691 MB / 0.5593 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.1771, allocations: 0 / 0.5593 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.046e-05/0.1772, allocations: 31.98 kB / 0.5593 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.1772, allocations: 16 kB / 0.5593 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.1784, allocations: 0.6258 MB / 0.5599 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003914/0.1823, allocations: 3.007 MB / 0.5628 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.1834, allocations: 0.6772 MB / 0.5635 GB, free: 8.875 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/0.1838, allocations: 279.9 kB / 0.5638 GB, free: 8.598 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002154/0.186, allocations: 1.908 MB / 0.5656 GB, free: 6.461 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1861, allocations: 39.12 kB / 0.5657 GB, free: 6.414 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 1.924e-06/0.1861, allocations: 0 / 0.5657 GB, free: 6.414 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.01102/0.1971, allocations: 2.431 MB / 0.5681 GB, free: 3.906 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.1972, allocations: 81.67 kB / 0.5681 GB, free: 3.809 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008219/0.1981, allocations: 0.5981 MB / 0.5687 GB, free: 3.203 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.249e-05/0.1981, allocations: 37.7 kB / 0.5687 GB, free: 3.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.1984, allocations: 392.3 kB / 0.5691 GB, free: 2.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.1986, allocations: 220.8 kB / 0.5693 GB, free: 2.551 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.1988, allocations: 118.2 kB / 0.5694 GB, free: 2.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.199, allocations: 330 kB / 0.5698 GB, free: 2.102 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.1994, allocations: 213.2 kB / 0.57 GB, free: 1.895 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/0.1998, allocations: 298.8 kB / 0.5702 GB, free: 1.574 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008603/0.2007, allocations: 0.5315 MB / 0.5708 GB, free: 1.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.2007, allocations: 4 kB / 0.5708 GB, free: 1.016 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005567/0.2063, allocations: 1.377 MB / 0.5721 GB, free: 15.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.2063, allocations: 12.06 kB / 0.5721 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.2064, allocations: 0 / 0.5721 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005519/0.2119, allocations: 0.9351 MB / 0.573 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.2124, allocations: 99.89 kB / 0.5731 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.2151, allocations: 2.826 MB / 0.5759 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000678/0.2158, allocations: 63.42 kB / 0.576 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/0.2158, allocations: 27.98 kB / 0.576 GB, free: 11.47 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.0003346/0.2162, allocations: 208.7 kB / 0.5762 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.2163, allocations: 79 kB / 0.5763 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005759/0.2221, allocations: 1.496 MB / 0.5777 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.2221, allocations: 8 kB / 0.5777 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.2222, allocations: 4.188 kB / 0.5777 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/0.2222, allocations: 7.922 kB / 0.5777 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006615/0.2288, allocations: 2.14 MB / 0.5798 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/0.2288, allocations: 4 kB / 0.5798 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.2292, allocations: 71.91 kB / 0.5799 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005528/0.2347, allocations: 0.9313 MB / 0.5808 GB, free: 6.418 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.561e-05/0.2348, allocations: 16 kB / 0.5808 GB, free: 6.402 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002478/0.2373, allocations: 2.822 MB / 0.5836 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2373, allocations: 4.031 kB / 0.5836 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005804/0.2431, allocations: 1.771 MB / 0.5853 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/0.2435, allocations: 204 kB / 0.5855 GB, free: 1.367 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.2436, allocations: 16.19 kB / 0.5855 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004484/0.2441, allocations: 39.83 kB / 0.5856 GB, free: 1.312 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.2442, allocations: 48.44 kB / 0.5856 GB, free: 1.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.2443, allocations: 16 kB / 0.5856 GB, free: 1.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005472/0.2448, allocations: 431 kB / 0.586 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2448, allocations: 4 kB / 0.586 GB, free: 0.832 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009831/0.2458, allocations: 287.6 kB / 0.5863 GB, free: 0.5508 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.0006234/0.2465, allocations: 405.5 kB / 0.5867 GB, free: 156 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2127/0.4592, allocations: 0.6817 MB / 0.5874 GB, free: 70.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.4593, allocations: 0.8125 kB / 0.5874 GB, free: 70.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000846/0.4601, allocations: 442.5 kB / 0.5878 GB, free: 70.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.4614, allocations: 207.8 kB / 0.588 GB, free: 70.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.4642, allocations: 1.844 MB / 0.5898 GB, free: 69.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.4648, allocations: 0.9531 MB / 0.5907 GB, free: 68.44 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005293/0.4653, allocations: 110.3 kB / 0.5908 GB, free: 68.42 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.4655, allocations: 63.45 kB / 0.5909 GB, free: 68.41 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4655, allocations: 0 / 0.5909 GB, free: 68.41 MB / 462.1 MB Notification: Performance of Templates: time 0.02607/0.4916, allocations: 15.15 MB / 0.6057 GB, free: 63.98 MB / 462.1 MB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile (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) 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) Reference file matches