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.001502/0.001502, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001736/0.001736, allocations: 218.1 kB / 22.26 MB, free: 5.082 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 8.008 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.8452/0.8452, allocations: 100.3 MB / 412.7 MB, free: 3.695 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",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.002786/0.002786, allocations: 84.33 kB / 0.5633 GB, free: 35.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1588, allocations: 74.47 MB / 0.636 GB, free: 7.688 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.03161/0.1905, allocations: 23.34 MB / 0.6588 GB, free: 264 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.2034, allocations: 9.575 MB / 0.6681 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.2045, allocations: 43.62 kB / 0.6682 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.2059, allocations: 413.2 kB / 0.6686 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002823/0.2087, allocations: 0.8112 MB / 0.6693 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.2103, allocations: 482.4 kB / 0.6698 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00195/0.2122, allocations: 1.159 MB / 0.6709 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.2126, allocations: 163.9 kB / 0.6711 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.2138, allocations: 0.494 MB / 0.6716 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008351/0.2146, allocations: 445.7 kB / 0.672 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.2148, allocations: 60 kB / 0.6721 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.2165, allocations: 0.519 MB / 0.6726 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.2167, allocations: 167.2 kB / 0.6727 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004777/0.2172, allocations: 441.4 kB / 0.6731 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.2199, allocations: 1.202 MB / 0.6743 GB, free: 252 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2199, allocations: 7.984 kB / 0.6743 GB, free: 244 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2199, allocations: 0 / 0.6743 GB, free: 244 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.019e-05/0.22, allocations: 0 / 0.6743 GB, free: 244 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.002766/0.2227, allocations: 1.212 MB / 0.6755 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.2228, allocations: 12.03 kB / 0.6755 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.2229, allocations: 110.6 kB / 0.6756 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003054/0.2232, allocations: 112.2 kB / 0.6757 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.2246, allocations: 0.5761 MB / 0.6763 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/0.2247, allocations: 57.31 kB / 0.6764 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-05/0.2248, allocations: 60 kB / 0.6764 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.226, allocations: 0.6769 MB / 0.6771 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.2261, allocations: 0 / 0.6771 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.55e-05/0.2261, allocations: 24 kB / 0.6771 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.2262, allocations: 16 kB / 0.6771 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.2274, allocations: 0.6492 MB / 0.6777 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004458/0.2319, allocations: 2.968 MB / 0.6806 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.233, allocations: 0.6274 MB / 0.6813 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/0.2335, allocations: 258.8 kB / 0.6815 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00207/0.2355, allocations: 1.076 MB / 0.6826 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.2356, allocations: 39.22 kB / 0.6826 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 2.224e-06/0.2356, allocations: 0 / 0.6826 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.01035/0.2459, allocations: 2.213 MB / 0.6848 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.246, allocations: 89.64 kB / 0.6848 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009075/0.2469, allocations: 0.5904 MB / 0.6854 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.2469, allocations: 41.7 kB / 0.6855 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.2473, allocations: 392.9 kB / 0.6858 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.2475, allocations: 234 kB / 0.6861 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.2477, allocations: 118.3 kB / 0.6862 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.2478, allocations: 334 kB / 0.6865 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.2482, allocations: 209.2 kB / 0.6867 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.2487, allocations: 302.8 kB / 0.687 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009634/0.2496, allocations: 0.5358 MB / 0.6875 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2496, allocations: 0 / 0.6875 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005394/0.255, allocations: 1.385 MB / 0.6888 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.2551, allocations: 8 kB / 0.6889 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2551, allocations: 0 / 0.6889 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005229/0.2603, allocations: 0.9469 MB / 0.6898 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.2607, allocations: 99.83 kB / 0.6899 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003007/0.2637, allocations: 2.854 MB / 0.6927 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.2643, allocations: 59.55 kB / 0.6927 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/0.2643, allocations: 27.94 kB / 0.6927 GB, free: 12.68 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.0004099/0.2647, allocations: 194.8 kB / 0.6929 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.265, allocations: 87.44 kB / 0.693 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005577/0.2705, allocations: 1.489 MB / 0.6945 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.2705, allocations: 11.94 kB / 0.6945 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2705, allocations: 0 / 0.6945 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.2706, allocations: 3.984 kB / 0.6945 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006587/0.2771, allocations: 2.123 MB / 0.6966 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.2772, allocations: 0 / 0.6966 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.2775, allocations: 75.91 kB / 0.6966 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005355/0.2828, allocations: 0.9352 MB / 0.6975 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.2829, allocations: 16 kB / 0.6976 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002948/0.2858, allocations: 2.858 MB / 0.7003 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.2858, allocations: 4.031 kB / 0.7004 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005932/0.2918, allocations: 1.779 MB / 0.7021 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/0.2921, allocations: 143.2 kB / 0.7022 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.2923, allocations: 15.95 kB / 0.7022 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/0.2927, allocations: 12 kB / 0.7023 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.2928, allocations: 52.5 kB / 0.7023 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.2929, allocations: 19.98 kB / 0.7023 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007547/0.2936, allocations: 435 kB / 0.7027 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2936, allocations: 0 / 0.7027 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001048/0.2947, allocations: 291.3 kB / 0.703 GB, free: 1.863 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.007161/0.3018, allocations: 2.61 MB / 0.7056 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001589/0.3034, allocations: 0.668 MB / 0.7062 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3034, allocations: 0 / 0.7062 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008256/0.3042, allocations: 430.8 kB / 0.7066 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.3055, allocations: 225.2 kB / 0.7068 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/0.3228, allocations: 7.31 MB / 0.714 GB, free: 6.371 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006967/0.3235, allocations: 0.9463 MB / 0.7149 GB, free: 5.398 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004127/0.3239, allocations: 108.1 kB / 0.715 GB, free: 5.301 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/0.3243, allocations: 311.3 kB / 0.7153 GB, free: 4.996 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.3243, allocations: 0 / 0.7153 GB, free: 4.996 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07014/0.3945, allocations: 24.55 MB / 0.7393 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.9/17.29, allocations: 2.234 kB / 0.7393 GB, free: 12.72 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: 21.43568112514913]