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.0007636/0.0007636, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007852/0.0007852, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8546/0.8546, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.5984/0.5984, allocations: 116 MB / 375.2 MB, free: 4.184 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 3.984 kB / 0.5533 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/2.034e-05, allocations: 6.219 kB / 0.5533 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01329/0.01331, allocations: 17.13 MB / 0.57 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004547/0.01786, allocations: 5.438 MB / 0.5753 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004883/0.01835, allocations: 35.69 kB / 0.5753 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006068/0.01895, allocations: 265.9 kB / 0.5756 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.02019, allocations: 0.605 MB / 0.5762 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006863/0.02087, allocations: 378.5 kB / 0.5765 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001022/0.02189, allocations: 0.9131 MB / 0.5774 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.02209, allocations: 90.11 kB / 0.5775 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006508/0.02275, allocations: 0.5024 MB / 0.578 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.02297, allocations: 231.2 kB / 0.5782 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.02301, allocations: 44 kB / 0.5783 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005953/0.02361, allocations: 339.3 kB / 0.5786 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.995e-05/0.0237, allocations: 111.4 kB / 0.5787 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.02384, allocations: 203.4 kB / 0.5789 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008868/0.02472, allocations: 0.8643 MB / 0.5797 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.02473, allocations: 0 / 0.5797 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.284e-06/0.02473, allocations: 4 kB / 0.5797 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.637e-06/0.02474, allocations: 0 / 0.5797 GB, free: 2.109 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001103/0.02584, allocations: 0.9361 MB / 0.5807 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.02588, allocations: 12.03 kB / 0.5807 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.095e-05/0.02594, allocations: 86.64 kB / 0.5807 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.02609, allocations: 84.47 kB / 0.5808 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006274/0.02672, allocations: 489.2 kB / 0.5813 GB, free: 460 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.02674, allocations: 29.38 kB / 0.5813 GB, free: 428 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.02679, allocations: 47.94 kB / 0.5814 GB, free: 380 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/0.02728, allocations: 472.7 kB / 0.5818 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.02729, allocations: 3.953 kB / 0.5818 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.02732, allocations: 16 kB / 0.5818 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.02732, allocations: 12 kB / 0.5818 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004296/0.02775, allocations: 415.7 kB / 0.5822 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.02931, allocations: 1.559 MB / 0.5838 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.02978, allocations: 357.2 kB / 0.5841 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.02994, allocations: 161.4 kB / 0.5843 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.031, allocations: 0.7137 MB / 0.585 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.03102, allocations: 50.48 kB / 0.585 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=37): time 2.445e-06/0.03102, allocations: 0 / 0.585 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=37): time 0.001306/0.03233, allocations: 0.6515 MB / 0.5856 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.03237, allocations: 85.09 kB / 0.5857 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.03275, allocations: 0.5069 MB / 0.5862 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.03277, allocations: 29.7 kB / 0.5862 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.03292, allocations: 320.6 kB / 0.5866 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.276e-05/0.03298, allocations: 134.8 kB / 0.5867 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.581e-05/0.03306, allocations: 70.2 kB / 0.5867 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.03316, allocations: 374.7 kB / 0.5871 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.0333, allocations: 105 kB / 0.5872 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.03347, allocations: 198.3 kB / 0.5874 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.03378, allocations: 313.3 kB / 0.5877 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.03379, allocations: 4 kB / 0.5877 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005855/0.03437, allocations: 0.5021 MB / 0.5882 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.03439, allocations: 8 kB / 0.5882 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.03439, allocations: 0 / 0.5882 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005382/0.03493, allocations: 169.8 kB / 0.5884 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.03508, allocations: 83.89 kB / 0.5884 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.03618, allocations: 2.008 MB / 0.5904 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.03634, allocations: 39.7 kB / 0.5904 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.03636, allocations: 19.98 kB / 0.5905 GB, free: 6.617 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (42): * Single equations (assignments): 40 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.03653, allocations: 182.6 kB / 0.5906 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.03659, allocations: 67.52 kB / 0.5907 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005777/0.03717, allocations: 0.4952 MB / 0.5912 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.03717, allocations: 4 kB / 0.5912 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.03718, allocations: 0 / 0.5912 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.03718, allocations: 0 / 0.5912 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.03848, allocations: 0.9373 MB / 0.5921 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.03848, allocations: 4 kB / 0.5921 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.03859, allocations: 47.92 kB / 0.5921 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00045/0.03904, allocations: 177.5 kB / 0.5923 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.03906, allocations: 16 kB / 0.5923 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009742/0.04004, allocations: 2.008 MB / 0.5943 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.04004, allocations: 4.031 kB / 0.5943 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007579/0.0408, allocations: 0.7122 MB / 0.595 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.04092, allocations: 99.45 kB / 0.5951 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.04095, allocations: 8.141 kB / 0.5951 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.04109, allocations: 8 kB / 0.5951 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.04114, allocations: 35.81 kB / 0.5951 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.04116, allocations: 15.98 kB / 0.5952 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002909/0.04145, allocations: 375.1 kB / 0.5955 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.04145, allocations: 4.062 kB / 0.5955 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005366/0.04199, allocations: 195.6 kB / 0.5957 GB, free: 0.9844 MB / 0.5105 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001261/0.04325, allocations: 1.446 MB / 0.5971 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000622/0.04387, allocations: 426.9 kB / 0.5975 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.04387, allocations: 4.188 kB / 0.5975 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.04415, allocations: 266.4 kB / 0.5978 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007022/0.04485, allocations: 211.8 kB / 0.598 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004736/0.04958, allocations: 4.572 MB / 0.6024 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.04978, allocations: 272 kB / 0.6027 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002388/0.05002, allocations: 88.36 kB / 0.6028 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.0502, allocations: 224.4 kB / 0.603 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of SimCode: time 7.61e-07/0.0502, allocations: 0 / 0.603 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.08226, allocations: 17.96 MB / 0.6205 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.755/7.837, allocations: 22.55 kB / 0.6206 GB, free: 7.629 MB / 0.5417 GB " [Timeout remaining time 652] (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/jenkins/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: 10.236971019767225]