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.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.001651/0.001651, allocations: 78.25 kB / 19.76 MB, free: 2.031 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.001833/0.001833, allocations: 158.2 kB / 23.01 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.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7794/0.7794, allocations: 74.91 MB / 334.7 MB, free: 15.53 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_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_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.002902/0.002902, allocations: 84.94 kB / 496.4 MB, free: 29.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1207, allocations: 73.03 MB / 0.5561 GB, free: 15.6 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02363/0.1443, allocations: 16.14 MB / 0.5718 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00963/0.1539, allocations: 6.218 MB / 0.5779 GB, free: 9.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007316/0.1547, allocations: 31.69 kB / 0.5779 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009938/0.1557, allocations: 254.2 kB / 0.5782 GB, free: 8.871 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.1576, allocations: 0.5434 MB / 0.5787 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.1587, allocations: 370.7 kB / 0.579 GB, free: 7.961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.1601, allocations: 0.8087 MB / 0.5798 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.1604, allocations: 102 kB / 0.5799 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008362/0.1612, allocations: 366.4 kB / 0.5803 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005419/0.1618, allocations: 278.4 kB / 0.5805 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.1619, allocations: 40 kB / 0.5806 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.1629, allocations: 335.7 kB / 0.5809 GB, free: 6.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.1631, allocations: 107.5 kB / 0.581 GB, free: 5.938 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.1634, allocations: 234.7 kB / 0.5812 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.1651, allocations: 0.8403 MB / 0.5821 GB, free: 4.863 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1651, allocations: 0 / 0.5821 GB, free: 4.863 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1651, allocations: 0 / 0.5821 GB, free: 4.863 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1651, allocations: 0 / 0.5821 GB, free: 4.863 MB / 494.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.001743/0.1669, allocations: 0.9091 MB / 0.5829 GB, free: 3.922 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1669, allocations: 8.031 kB / 0.5829 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002804/0.1672, allocations: 84.45 kB / 0.583 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009189/0.1681, allocations: 462.1 kB / 0.5835 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.1681, allocations: 36.92 kB / 0.5835 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.1682, allocations: 44 kB / 0.5835 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007981/0.169, allocations: 463.8 kB / 0.584 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.169, allocations: 0 / 0.584 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.169, allocations: 16 kB / 0.584 GB, free: 2.789 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1691, allocations: 11.94 kB / 0.584 GB, free: 2.777 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007219/0.1698, allocations: 423.7 kB / 0.5844 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.1723, allocations: 1.407 MB / 0.5858 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007385/0.1731, allocations: 373.4 kB / 0.5862 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.1734, allocations: 169.4 kB / 0.5863 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/0.1746, allocations: 0.605 MB / 0.5869 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.1746, allocations: 38.89 kB / 0.5869 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.294e-06/0.1746, allocations: 0 / 0.5869 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.006365/0.181, allocations: 1.302 MB / 0.5882 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.181, allocations: 85.05 kB / 0.5883 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006308/0.1817, allocations: 454.8 kB / 0.5887 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.1817, allocations: 33.7 kB / 0.5888 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.182, allocations: 304.6 kB / 0.589 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.1821, allocations: 142.7 kB / 0.5892 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.1823, allocations: 74.19 kB / 0.5893 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.1825, allocations: 366.8 kB / 0.5896 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.1827, allocations: 124.9 kB / 0.5897 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.1831, allocations: 191 kB / 0.5899 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/0.1837, allocations: 341.7 kB / 0.5902 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1837, allocations: 4 kB / 0.5902 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002988/0.1867, allocations: 0.8029 MB / 0.591 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1867, allocations: 7.938 kB / 0.591 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1867, allocations: 0 / 0.591 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002879/0.1896, allocations: 0.4933 MB / 0.5915 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.1898, allocations: 63.91 kB / 0.5916 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.192, allocations: 2.075 MB / 0.5936 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.1924, allocations: 35.77 kB / 0.5936 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.1924, allocations: 16 kB / 0.5936 GB, free: 8.551 MB / 0.4981 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.0002757/0.1927, allocations: 175.2 kB / 0.5938 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.1929, allocations: 55.62 kB / 0.5939 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/0.196, allocations: 0.8477 MB / 0.5947 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.196, allocations: 4 kB / 0.5947 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.196, allocations: 4 kB / 0.5947 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.196, allocations: 3.938 kB / 0.5947 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003724/0.1997, allocations: 1.222 MB / 0.5959 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.1997, allocations: 4.062 kB / 0.5959 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.2, allocations: 39.98 kB / 0.5959 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002827/0.2028, allocations: 0.4932 MB / 0.5964 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/0.2028, allocations: 8 kB / 0.5964 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.2049, allocations: 2.075 MB / 0.5985 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2049, allocations: 3.938 kB / 0.5985 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003386/0.2083, allocations: 1.083 MB / 0.5995 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002372/0.2086, allocations: 95.47 kB / 0.5996 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.2086, allocations: 11.94 kB / 0.5996 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.2089, allocations: 16.06 kB / 0.5996 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.209, allocations: 31.94 kB / 0.5997 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.209, allocations: 12 kB / 0.5997 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004687/0.2095, allocations: 326.9 kB / 0.6 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.2095, allocations: 3.938 kB / 0.6 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000719/0.2102, allocations: 191.6 kB / 0.6002 GB, free: 1.621 MB / 0.4981 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.0004712/0.2107, allocations: 282.9 kB / 0.6004 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.2117, allocations: 454.1 kB / 0.6009 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2117, allocations: 0 / 0.6009 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005748/0.2123, allocations: 302.9 kB / 0.6012 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008964/0.2132, allocations: 137.1 kB / 0.6013 GB, free: 456 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.2155, allocations: 1.129 MB / 0.6024 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.2158, allocations: 259.6 kB / 0.6026 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002753/0.2161, allocations: 81.11 kB / 0.6027 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.2162, allocations: 40.5 kB / 0.6028 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of SimCode: time 8.32e-07/0.2162, allocations: 3.938 kB / 0.6028 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.01979/0.236, allocations: 9.578 MB / 0.6121 GB, free: 5.441 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1200] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.867601921083406]