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.0007852/0.0007852, 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.0007848/0.0007848, allocations: 165.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.8508/0.8508, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.6024/0.6024, allocations: 116 MB / 375.2 MB, free: 4.195 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_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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 0.5533 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.914e-05, allocations: 6.219 kB / 0.5533 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01681/0.01683, allocations: 22.2 MB / 0.5749 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006245/0.02307, allocations: 7.896 MB / 0.5827 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008667/0.02394, allocations: 51.56 kB / 0.5827 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007982/0.02474, allocations: 373 kB / 0.5831 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.02666, allocations: 0.8921 MB / 0.5839 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000985/0.02765, allocations: 494 kB / 0.5844 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001188/0.02883, allocations: 1.294 MB / 0.5857 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.0291, allocations: 140 kB / 0.5858 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009418/0.03004, allocations: 0.7011 MB / 0.5865 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.03043, allocations: 346.9 kB / 0.5868 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 7.396e-05/0.0305, allocations: 56 kB / 0.5869 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009765/0.03148, allocations: 479.2 kB / 0.5873 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.0316, allocations: 171.1 kB / 0.5875 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.0318, allocations: 311.1 kB / 0.5878 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.03326, allocations: 1.23 MB / 0.589 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.03327, allocations: 0 / 0.589 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.767e-06/0.03327, allocations: 4 kB / 0.589 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.829e-05/0.03329, allocations: 0 / 0.589 GB, free: 8.617 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.001588/0.03488, allocations: 1.239 MB / 0.5902 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.03493, allocations: 12.03 kB / 0.5902 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.733e-05/0.03501, allocations: 102.7 kB / 0.5903 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.03525, allocations: 124.2 kB / 0.5904 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008187/0.03607, allocations: 0.6069 MB / 0.591 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.0361, allocations: 49.44 kB / 0.5911 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.03616, allocations: 64 kB / 0.5911 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006914/0.03685, allocations: 0.6817 MB / 0.5918 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.03687, allocations: 7.969 kB / 0.5918 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.03691, allocations: 28 kB / 0.5918 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.03692, allocations: 16 kB / 0.5918 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006633/0.03759, allocations: 0.6337 MB / 0.5925 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.03982, allocations: 2.215 MB / 0.5946 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/0.04052, allocations: 0.579 MB / 0.5952 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.04076, allocations: 235.6 kB / 0.5954 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/0.04227, allocations: 0.9666 MB / 0.5964 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.04229, allocations: 35.06 kB / 0.5964 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=58): time 2.665e-06/0.0423, allocations: 3.938 kB / 0.5964 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58): time 0.00199/0.04429, allocations: 1.041 MB / 0.5974 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.04433, allocations: 85.61 kB / 0.5975 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005383/0.04487, allocations: 0.6492 MB / 0.5981 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.04489, allocations: 37.7 kB / 0.5982 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.0451, allocations: 424.6 kB / 0.5986 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.0452, allocations: 214.1 kB / 0.5988 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.04531, allocations: 118.8 kB / 0.5989 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.0454, allocations: 334 kB / 0.5992 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.04559, allocations: 165.9 kB / 0.5994 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.04585, allocations: 313.1 kB / 0.5997 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005091/0.04636, allocations: 0.4988 MB / 0.6001 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.04637, allocations: 4 kB / 0.6002 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001272/0.04764, allocations: 0.8387 MB / 0.601 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.04766, allocations: 11.94 kB / 0.601 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.04767, allocations: 7.984 kB / 0.601 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009378/0.04861, allocations: 306.5 kB / 0.6013 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.04885, allocations: 115.8 kB / 0.6014 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.05055, allocations: 2.685 MB / 0.604 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.0509, allocations: 63.52 kB / 0.6041 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.05094, allocations: 31.98 kB / 0.6041 GB, free: 8.535 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (67): * Single equations (assignments): 64 * 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,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002558/0.0512, allocations: 205.8 kB / 0.6043 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.206e-05/0.05129, allocations: 87.44 kB / 0.6044 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.05241, allocations: 0.8204 MB / 0.6052 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.05241, allocations: 8.188 kB / 0.6052 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.05242, allocations: 4 kB / 0.6052 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.05242, allocations: 3.938 kB / 0.6052 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.05398, allocations: 1.299 MB / 0.6065 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.05398, allocations: 0 / 0.6065 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.05416, allocations: 75.91 kB / 0.6065 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008054/0.05496, allocations: 314.2 kB / 0.6068 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.05499, allocations: 12 kB / 0.6069 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.05636, allocations: 2.697 MB / 0.6095 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.05636, allocations: 0 / 0.6095 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.05762, allocations: 1.028 MB / 0.6105 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.05782, allocations: 135.3 kB / 0.6106 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.05787, allocations: 12 kB / 0.6106 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.05804, allocations: 8 kB / 0.6106 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.05812, allocations: 44.42 kB / 0.6107 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.05815, allocations: 23.92 kB / 0.6107 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003665/0.05851, allocations: 463 kB / 0.6111 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.05851, allocations: 0 / 0.6111 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005972/0.05911, allocations: 295.4 kB / 0.6114 GB, free: 0.7383 MB / 0.5261 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 (42): * Single equations (assignments): 39 * 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,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001604/0.06071, allocations: 1.826 MB / 0.6132 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008478/0.06156, allocations: 0.5995 MB / 0.6138 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.06156, allocations: 0 / 0.6138 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.06196, allocations: 370.1 kB / 0.6142 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008544/0.06282, allocations: 286.7 kB / 0.6144 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005848/0.06867, allocations: 5.993 MB / 0.6203 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.06891, allocations: 370.3 kB / 0.6206 GB, free: 6.977 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003276/0.06923, allocations: 119.8 kB / 0.6207 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.06948, allocations: 320.4 kB / 0.621 GB, free: 6.555 MB / 0.5417 GB Notification: Performance of SimCode: time 1.232e-06/0.06949, allocations: 0 / 0.621 GB, free: 6.555 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2297/0.2991, allocations: 24.9 MB / 0.6454 GB, free: 92.26 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/8.512, allocations: 3.781 kB / 0.6454 GB, free: 92.26 MB / 0.5573 GB " [Timeout remaining time 651] (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/jenkins/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: 10.923841952346265]