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.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.001204/0.001204, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001382/0.001382, allocations: 217.4 kB / 23.04 MB, free: 5.074 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.8379/0.8379, allocations: 100.3 MB / 413.5 MB, free: 3.66 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_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="cs",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.003733/0.003733, allocations: 88.27 kB / 0.564 GB, free: 35.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1618, allocations: 74.45 MB / 0.6367 GB, free: 7.668 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.03559/0.1974, allocations: 23.36 MB / 0.6595 GB, free: 224 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01627/0.2137, allocations: 9.567 MB / 0.6689 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.2148, allocations: 43.56 kB / 0.6689 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.2163, allocations: 409.3 kB / 0.6693 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002974/0.2193, allocations: 0.8112 MB / 0.6701 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.2209, allocations: 486.3 kB / 0.6706 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002165/0.2231, allocations: 1.163 MB / 0.6717 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004724/0.2235, allocations: 163.8 kB / 0.6719 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.2247, allocations: 0.494 MB / 0.6723 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008426/0.2255, allocations: 449.7 kB / 0.6728 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.2257, allocations: 60 kB / 0.6728 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.2276, allocations: 0.5229 MB / 0.6733 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003707/0.228, allocations: 159.2 kB / 0.6735 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006492/0.2287, allocations: 433.5 kB / 0.6739 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00266/0.2313, allocations: 1.21 MB / 0.6751 GB, free: 216 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2313, allocations: 3.938 kB / 0.6751 GB, free: 212 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2313, allocations: 4 kB / 0.6751 GB, free: 208 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.245e-05/0.2313, allocations: 0 / 0.6751 GB, free: 208 kB / 0.4981 GB 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.002606/0.2339, allocations: 1.216 MB / 0.6763 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.234, allocations: 8.031 kB / 0.6763 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3e-05/0.234, allocations: 17.5 kB / 0.6763 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/0.2342, allocations: 106.7 kB / 0.6764 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.2345, allocations: 112.2 kB / 0.6765 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.2357, allocations: 0.5837 MB / 0.6771 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.2357, allocations: 45.31 kB / 0.6771 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.2359, allocations: 67.94 kB / 0.6772 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.2371, allocations: 0.6731 MB / 0.6779 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.2371, allocations: 3.938 kB / 0.6779 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.405e-05/0.2372, allocations: 28 kB / 0.6779 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.2372, allocations: 12 kB / 0.6779 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.2385, allocations: 0.6493 MB / 0.6785 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004725/0.2432, allocations: 2.972 MB / 0.6814 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.2444, allocations: 0.6273 MB / 0.682 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004618/0.2449, allocations: 262.8 kB / 0.6823 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002087/0.2469, allocations: 1.064 MB / 0.6833 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.247, allocations: 39.22 kB / 0.6834 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 2.655e-06/0.247, allocations: 0 / 0.6834 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.01013/0.2571, allocations: 2.217 MB / 0.6855 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.2572, allocations: 89.7 kB / 0.6856 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.2582, allocations: 0.5943 MB / 0.6862 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.351e-05/0.2583, allocations: 37.7 kB / 0.6862 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.2587, allocations: 388.9 kB / 0.6866 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.2589, allocations: 238 kB / 0.6868 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.2591, allocations: 114.3 kB / 0.6869 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.2593, allocations: 330 kB / 0.6873 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/0.2597, allocations: 213.2 kB / 0.6875 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.2602, allocations: 306.8 kB / 0.6878 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009257/0.2612, allocations: 0.5319 MB / 0.6883 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.2612, allocations: 4 kB / 0.6883 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005246/0.2664, allocations: 1.389 MB / 0.6896 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.2665, allocations: 4 kB / 0.6896 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.2665, allocations: 4 kB / 0.6896 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005315/0.2718, allocations: 0.9391 MB / 0.6906 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.2723, allocations: 103.8 kB / 0.6907 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/0.2755, allocations: 2.846 MB / 0.6934 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005682/0.276, allocations: 63.66 kB / 0.6935 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-05/0.2761, allocations: 20 kB / 0.6935 GB, free: 12.64 MB / 0.5294 GB 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.0004066/0.2766, allocations: 197.7 kB / 0.6937 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/0.2768, allocations: 91.42 kB / 0.6938 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005581/0.2824, allocations: 1.484 MB / 0.6952 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.2824, allocations: 11.94 kB / 0.6953 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2824, allocations: 0 / 0.6953 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/0.2824, allocations: 7.984 kB / 0.6953 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00678/0.2892, allocations: 2.122 MB / 0.6973 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.2892, allocations: 4.062 kB / 0.6973 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/0.2896, allocations: 76.09 kB / 0.6974 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005102/0.2947, allocations: 0.9429 MB / 0.6983 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.941e-05/0.2948, allocations: 15.98 kB / 0.6983 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003241/0.298, allocations: 2.848 MB / 0.7011 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.298, allocations: 7.969 kB / 0.7011 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005845/0.3039, allocations: 1.772 MB / 0.7029 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/0.3043, allocations: 143.2 kB / 0.703 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.3045, allocations: 15.95 kB / 0.703 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/0.3049, allocations: 15.98 kB / 0.703 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.305, allocations: 44.77 kB / 0.7031 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.983e-05/0.3051, allocations: 27.98 kB / 0.7031 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006756/0.3058, allocations: 427 kB / 0.7035 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.3058, allocations: 4 kB / 0.7035 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001027/0.3068, allocations: 295.3 kB / 0.7038 GB, free: 1.812 MB / 0.5294 GB 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.00692/0.3137, allocations: 2.608 MB / 0.7063 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001965/0.3157, allocations: 0.6681 MB / 0.707 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3157, allocations: 4 kB / 0.707 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008944/0.3166, allocations: 434.8 kB / 0.7074 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.318, allocations: 218.3 kB / 0.7076 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/0.3369, allocations: 7.309 MB / 0.7148 GB, free: 6.316 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007856/0.3377, allocations: 0.9502 MB / 0.7157 GB, free: 5.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005131/0.3382, allocations: 115.6 kB / 0.7158 GB, free: 5.234 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/0.3387, allocations: 303.3 kB / 0.7161 GB, free: 4.938 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/0.3387, allocations: 0 / 0.7161 GB, free: 4.938 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06343/0.4021, allocations: 24.58 MB / 0.7401 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.31/16.71, allocations: 15.84 kB / 0.7401 GB, free: 12.64 MB / 0.5762 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1260.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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: 20.868379807914607]