Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 217.5 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7762/0.7762, allocations: 100.9 MB / 414.1 MB, free: 2.852 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002546/0.002546, allocations: 87.55 kB / 0.5653 GB, free: 35.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1415, allocations: 74.62 MB / 0.6382 GB, free: 5.977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02239/0.1639, allocations: 16.14 MB / 0.6539 GB, free: 5.762 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009172/0.1731, allocations: 6.206 MB / 0.66 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007054/0.1738, allocations: 35.69 kB / 0.66 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009775/0.1748, allocations: 254.2 kB / 0.6603 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.1767, allocations: 0.5512 MB / 0.6608 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.1778, allocations: 354.8 kB / 0.6611 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.1791, allocations: 0.8126 MB / 0.6619 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.1793, allocations: 94.05 kB / 0.662 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007225/0.18, allocations: 374.4 kB / 0.6624 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.1804, allocations: 270.4 kB / 0.6626 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.1805, allocations: 40 kB / 0.6627 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009245/0.1814, allocations: 331.7 kB / 0.663 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.1816, allocations: 111.4 kB / 0.6631 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.1818, allocations: 242.6 kB / 0.6633 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.1833, allocations: 0.8327 MB / 0.6641 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1833, allocations: 0 / 0.6641 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1833, allocations: 0 / 0.6641 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.1833, allocations: 3.938 kB / 0.6641 GB, free: 11.25 MB / 0.4981 GB 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.001712/0.185, allocations: 0.9206 MB / 0.665 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.185, allocations: 9.469 kB / 0.665 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000282/0.1853, allocations: 80.47 kB / 0.6651 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009516/0.1863, allocations: 462.2 kB / 0.6656 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/0.1863, allocations: 36.88 kB / 0.6656 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.1864, allocations: 44 kB / 0.6656 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007867/0.1872, allocations: 463.8 kB / 0.6661 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1872, allocations: 0 / 0.6661 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.1872, allocations: 19.98 kB / 0.6661 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.1873, allocations: 12 kB / 0.6661 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006994/0.188, allocations: 419.7 kB / 0.6665 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0024/0.1904, allocations: 1.399 MB / 0.6679 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000729/0.1911, allocations: 385.3 kB / 0.6682 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.1914, allocations: 169.6 kB / 0.6684 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.1924, allocations: 0.6048 MB / 0.669 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.1925, allocations: 42.89 kB / 0.669 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.924e-06/0.1925, allocations: 0 / 0.669 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.0058/0.1983, allocations: 1.306 MB / 0.6703 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.1983, allocations: 85.05 kB / 0.6704 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005899/0.1989, allocations: 454.8 kB / 0.6708 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.199, allocations: 33.7 kB / 0.6709 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.1992, allocations: 300.6 kB / 0.6712 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.1994, allocations: 142.8 kB / 0.6713 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.1995, allocations: 74.12 kB / 0.6714 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.1997, allocations: 370.8 kB / 0.6717 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.2, allocations: 124.8 kB / 0.6718 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.2003, allocations: 194.3 kB / 0.672 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005775/0.2008, allocations: 333.8 kB / 0.6723 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2009, allocations: 4 kB / 0.6723 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0028/0.2036, allocations: 0.8068 MB / 0.6731 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.2037, allocations: 4 kB / 0.6731 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2037, allocations: 3.938 kB / 0.6731 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002692/0.2064, allocations: 493.3 kB / 0.6736 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.2067, allocations: 63.91 kB / 0.6737 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.2088, allocations: 2.075 MB / 0.6757 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.2092, allocations: 35.73 kB / 0.6757 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.2092, allocations: 16 kB / 0.6757 GB, free: 14.94 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0002847/0.2095, allocations: 177.8 kB / 0.6759 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.2096, allocations: 51.67 kB / 0.676 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/0.2126, allocations: 0.8551 MB / 0.6768 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.2126, allocations: 4 kB / 0.6768 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2126, allocations: 4 kB / 0.6768 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.2126, allocations: 3.984 kB / 0.6768 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/0.2161, allocations: 1.219 MB / 0.678 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2161, allocations: 4.062 kB / 0.678 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.2163, allocations: 51.91 kB / 0.6781 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002618/0.2189, allocations: 485.3 kB / 0.6785 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.219, allocations: 15.94 kB / 0.6785 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.221, allocations: 2.075 MB / 0.6806 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.221, allocations: 3.984 kB / 0.6806 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/0.2241, allocations: 1.087 MB / 0.6816 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.2244, allocations: 83.59 kB / 0.6817 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/0.2244, allocations: 19.83 kB / 0.6817 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.2247, allocations: 16.06 kB / 0.6817 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.936e-05/0.2248, allocations: 35.69 kB / 0.6818 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.2248, allocations: 12 kB / 0.6818 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004208/0.2252, allocations: 322.9 kB / 0.6821 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2252, allocations: 0 / 0.6821 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006826/0.2259, allocations: 183.6 kB / 0.6823 GB, free: 8.008 MB / 0.5137 GB 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 (26): * Single equations (assignments): 24 * 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.0004672/0.2264, allocations: 290 kB / 0.6825 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009712/0.2274, allocations: 450.3 kB / 0.683 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2274, allocations: 0 / 0.683 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005127/0.2279, allocations: 306.8 kB / 0.6833 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000807/0.2287, allocations: 142.2 kB / 0.6834 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.2308, allocations: 1.141 MB / 0.6845 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.2311, allocations: 279.4 kB / 0.6848 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.2312, allocations: 47.42 kB / 0.6848 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.2312, allocations: 0 / 0.6848 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of Templates: time 0.01961/0.2508, allocations: 13.53 MB / 0.698 GB, free: 7.789 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.98172689974308]