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.001671/0.001671, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.001969/0.001969, allocations: 218.2 kB / 22.26 MB, free: 5.125 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.973 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.8417/0.8417, allocations: 100.3 MB / 412.7 MB, free: 3.664 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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) [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.002638/0.002638, allocations: 88.48 kB / 0.5632 GB, free: 35.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1778, allocations: 74.47 MB / 0.636 GB, free: 7.695 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02407/0.2019, allocations: 17.72 MB / 0.6533 GB, free: 5.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009901/0.2118, allocations: 6.864 MB / 0.66 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007115/0.2125, allocations: 35.69 kB / 0.66 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.2137, allocations: 294 kB / 0.6603 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.2157, allocations: 0.5512 MB / 0.6608 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.2169, allocations: 366.7 kB / 0.6612 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001442/0.2183, allocations: 0.8126 MB / 0.662 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.2186, allocations: 102 kB / 0.6621 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007017/0.2193, allocations: 366.5 kB / 0.6624 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004764/0.2198, allocations: 310.4 kB / 0.6627 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.48e-05/0.2198, allocations: 40 kB / 0.6627 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.221, allocations: 367.6 kB / 0.6631 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.2212, allocations: 115.5 kB / 0.6632 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.2215, allocations: 298.2 kB / 0.6635 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.2231, allocations: 0.8287 MB / 0.6643 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.2231, allocations: 0 / 0.6643 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2231, allocations: 0 / 0.6643 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.2231, allocations: 0 / 0.6643 GB, free: 10.55 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.00179/0.2249, allocations: 0.9285 MB / 0.6652 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.2249, allocations: 8.031 kB / 0.6652 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.909e-05/0.225, allocations: 74.72 kB / 0.6653 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.2252, allocations: 84.39 kB / 0.6654 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009888/0.2262, allocations: 462 kB / 0.6658 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.2262, allocations: 33 kB / 0.6658 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.132e-05/0.2263, allocations: 43.92 kB / 0.6659 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007906/0.2271, allocations: 471.8 kB / 0.6663 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.2271, allocations: 0 / 0.6663 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.2271, allocations: 20 kB / 0.6664 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.2271, allocations: 12 kB / 0.6664 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008986/0.228, allocations: 415.7 kB / 0.6668 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003055/0.2311, allocations: 2.03 MB / 0.6687 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007551/0.2319, allocations: 394.9 kB / 0.6691 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.2321, allocations: 165.7 kB / 0.6693 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001462/0.2336, allocations: 0.7772 MB / 0.67 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.2336, allocations: 42.83 kB / 0.6701 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.482e-06/0.2336, allocations: 0 / 0.6701 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.006113/0.2398, allocations: 1.309 MB / 0.6714 GB, free: 3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.2398, allocations: 88.98 kB / 0.6714 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006329/0.2405, allocations: 482.9 kB / 0.6719 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.2405, allocations: 29.7 kB / 0.6719 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.2408, allocations: 296.7 kB / 0.6722 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.2409, allocations: 142.8 kB / 0.6723 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.2411, allocations: 78.06 kB / 0.6724 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.2413, allocations: 366.8 kB / 0.6728 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.2415, allocations: 128.9 kB / 0.6729 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.2418, allocations: 181.8 kB / 0.6731 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005867/0.2424, allocations: 343.8 kB / 0.6734 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2424, allocations: 0 / 0.6734 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.003053/0.2455, allocations: 0.7991 MB / 0.6742 GB, free: 12 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2455, allocations: 4 kB / 0.6742 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.2455, allocations: 8.031 kB / 0.6742 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002806/0.2483, allocations: 497.2 kB / 0.6747 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.2487, allocations: 63.91 kB / 0.6747 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.251, allocations: 2.103 MB / 0.6768 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.2513, allocations: 39.73 kB / 0.6768 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.2514, allocations: 16 kB / 0.6768 GB, free: 13.15 MB / 0.5137 GB 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.0002745/0.2517, allocations: 161.8 kB / 0.677 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.2518, allocations: 63.58 kB / 0.677 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003212/0.255, allocations: 0.8724 MB / 0.6779 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.255, allocations: 4 kB / 0.6779 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.255, allocations: 0 / 0.6779 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.255, allocations: 3.984 kB / 0.6779 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003739/0.2587, allocations: 1.351 MB / 0.6792 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.2588, allocations: 7.984 kB / 0.6792 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.259, allocations: 39.98 kB / 0.6793 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002668/0.2616, allocations: 0.4934 MB / 0.6798 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.2617, allocations: 8 kB / 0.6798 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.2638, allocations: 2.11 MB / 0.6818 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.2638, allocations: 4.031 kB / 0.6818 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003184/0.267, allocations: 1.108 MB / 0.6829 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.2672, allocations: 95.41 kB / 0.683 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/0.2673, allocations: 11.98 kB / 0.683 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.2676, allocations: 12 kB / 0.683 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.2677, allocations: 32 kB / 0.683 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.2677, allocations: 15.94 kB / 0.6831 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004607/0.2682, allocations: 346.8 kB / 0.6834 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2682, allocations: 3.938 kB / 0.6834 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007868/0.269, allocations: 191.6 kB / 0.6836 GB, free: 5.965 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 (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.004086/0.2731, allocations: 1.819 MB / 0.6854 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.2742, allocations: 473.6 kB / 0.6858 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2742, allocations: 0 / 0.6858 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007295/0.2749, allocations: 302.9 kB / 0.6861 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009767/0.2759, allocations: 152 kB / 0.6862 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.2872, allocations: 5.187 MB / 0.6913 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/0.2879, allocations: 0.8705 MB / 0.6922 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003105/0.2882, allocations: 81.52 kB / 0.6922 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.2886, allocations: 211.4 kB / 0.6924 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/0.2886, allocations: 0 / 0.6924 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06589/0.3545, allocations: 16.93 MB / 0.709 GB, free: 11.97 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/15.64, allocations: 0 / 0.709 GB, free: 11.97 MB / 0.545 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1260.0] 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: 19.49465384799987]