Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002185/0.002185, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.662/1.662, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7527/0.7527, allocations: 94.6 MB / 397.3 MB, free: 0.5469 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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 83.86 kB / 0.5416 GB, free: 14.01 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5566/0.5593, allocations: 71.84 MB / 0.6118 GB, free: 3.949 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.03408/0.5934, allocations: 23.03 MB / 0.6343 GB, free: 3.512 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01617/0.6096, allocations: 9.509 MB / 0.6435 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.611, allocations: 30.84 kB / 0.6436 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.6124, allocations: 416.4 kB / 0.644 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003417/0.6158, allocations: 0.8064 MB / 0.6448 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.6177, allocations: 485.6 kB / 0.6452 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002121/0.6199, allocations: 1.158 MB / 0.6464 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003395/0.6202, allocations: 150.9 kB / 0.6465 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.6213, allocations: 488.4 kB / 0.647 GB, free: 10.22 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000637/0.622, allocations: 448.2 kB / 0.6474 GB, free: 9.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.6221, allocations: 58.94 kB / 0.6474 GB, free: 9.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.6247, allocations: 0.5258 MB / 0.648 GB, free: 9.723 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.625, allocations: 158.1 kB / 0.6481 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006144/0.6256, allocations: 436.3 kB / 0.6485 GB, free: 9.301 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003184/0.6288, allocations: 1.21 MB / 0.6497 GB, free: 8.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6288, allocations: 0 / 0.6497 GB, free: 8.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6288, allocations: 0 / 0.6497 GB, free: 8.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.6288, allocations: 1.125 kB / 0.6497 GB, free: 8.523 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.003061/0.6318, allocations: 1.299 MB / 0.651 GB, free: 7.492 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.6319, allocations: 9.625 kB / 0.651 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002376/0.6321, allocations: 105.9 kB / 0.6511 GB, free: 7.398 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/0.6325, allocations: 109.4 kB / 0.6512 GB, free: 7.344 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.634, allocations: 0.6609 MB / 0.6518 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.6341, allocations: 46.47 kB / 0.6519 GB, free: 6.777 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.6342, allocations: 64.77 kB / 0.6519 GB, free: 6.754 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.6356, allocations: 0.6674 MB / 0.6526 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.6357, allocations: 5.438 kB / 0.6526 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-05/0.6357, allocations: 25.41 kB / 0.6526 GB, free: 6.312 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.6357, allocations: 14.84 kB / 0.6526 GB, free: 6.312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.6371, allocations: 0.6282 MB / 0.6533 GB, free: 6.004 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00489/0.642, allocations: 3.002 MB / 0.6562 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.6434, allocations: 0.6273 MB / 0.6568 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005221/0.6439, allocations: 251 kB / 0.657 GB, free: 2.812 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003258/0.6471, allocations: 1.908 MB / 0.6589 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.6472, allocations: 42.25 kB / 0.6589 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 2.395e-06/0.6472, allocations: 0 / 0.6589 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.01152/0.6587, allocations: 2.424 MB / 0.6613 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002277/0.6589, allocations: 92.64 kB / 0.6614 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.66, allocations: 0.5968 MB / 0.662 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.6602, allocations: 36.3 kB / 0.662 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/0.6606, allocations: 385.3 kB / 0.6624 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.6608, allocations: 240.1 kB / 0.6626 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.661, allocations: 112.6 kB / 0.6627 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.6612, allocations: 331.8 kB / 0.663 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004936/0.6617, allocations: 205.8 kB / 0.6632 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.6622, allocations: 303.8 kB / 0.6635 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.6634, allocations: 0.5261 MB / 0.664 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6634, allocations: 1.219 kB / 0.664 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.006089/0.6695, allocations: 1.382 MB / 0.6654 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.6695, allocations: 5.531 kB / 0.6654 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.6696, allocations: 1.781 kB / 0.6654 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005636/0.6752, allocations: 0.9339 MB / 0.6663 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/0.6757, allocations: 99.73 kB / 0.6664 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.6793, allocations: 2.95 MB / 0.6693 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006936/0.68, allocations: 55.52 kB / 0.6693 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.139e-05/0.6801, allocations: 31.98 kB / 0.6694 GB, free: 9.484 MB / 0.4981 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.0005892/0.6807, allocations: 201.8 kB / 0.6696 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.6809, allocations: 79.48 kB / 0.6696 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005944/0.6868, allocations: 1.48 MB / 0.6711 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.6868, allocations: 15.88 kB / 0.6711 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.6868, allocations: 0 / 0.6711 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.6868, allocations: 3.984 kB / 0.6711 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006995/0.6938, allocations: 2.137 MB / 0.6732 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.6938, allocations: 0 / 0.6732 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.6942, allocations: 79.89 kB / 0.6733 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005323/0.6995, allocations: 0.9313 MB / 0.6742 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.962e-05/0.6996, allocations: 19.98 kB / 0.6742 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003204/0.7028, allocations: 2.949 MB / 0.6771 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.7028, allocations: 3.938 kB / 0.6771 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006276/0.7091, allocations: 1.761 MB / 0.6788 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004774/0.7096, allocations: 216.4 kB / 0.679 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.01e-05/0.7096, allocations: 12 kB / 0.679 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004928/0.7101, allocations: 16 kB / 0.679 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.7102, allocations: 44.5 kB / 0.6791 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.7103, allocations: 19.98 kB / 0.6791 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006538/0.7109, allocations: 431 kB / 0.6795 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.71e-07/0.7109, allocations: 0 / 0.6795 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001347/0.7123, allocations: 291.3 kB / 0.6798 GB, free: 14.48 MB / 0.5137 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.007096/0.7194, allocations: 2.597 MB / 0.6823 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.7211, allocations: 0.6667 MB / 0.683 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7211, allocations: 0 / 0.683 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009781/0.7221, allocations: 417.7 kB / 0.6834 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.7236, allocations: 224.3 kB / 0.6836 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/0.7445, allocations: 7.264 MB / 0.6907 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009124/0.7454, allocations: 0.9503 MB / 0.6916 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006879/0.7461, allocations: 115.6 kB / 0.6917 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005029/0.7466, allocations: 311.3 kB / 0.692 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of SimCode: time 1.894e-06/0.7466, allocations: 0 / 0.692 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/0.8638, allocations: 24 MB / 0.7154 GB, free: 9.961 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.26/18.12, allocations: 10.41 kB / 0.7155 GB, free: 9.953 MB / 0.545 GB " [Timeout remaining time 642] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_2/OpenModelicaLibraryTesting/files/ThermofluidStream_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: 22.20605393918231]