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.0007788/0.0007788, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007684/0.0007684, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8584/0.8584, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.6039/0.6039, allocations: 116 MB / 376 MB, free: 4.188 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: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 3.938 kB / 0.5545 GB, free: 12.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.868e-05/1.996e-05, allocations: 4.812 kB / 0.5545 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01511/0.01513, allocations: 22.21 MB / 0.5762 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00576/0.02089, allocations: 7.9 MB / 0.5839 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004659/0.02136, allocations: 51.5 kB / 0.5839 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006191/0.02198, allocations: 373.1 kB / 0.5843 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.02327, allocations: 0.8882 MB / 0.5852 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008699/0.02414, allocations: 498 kB / 0.5856 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000821/0.02496, allocations: 1.286 MB / 0.5869 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.02516, allocations: 151.9 kB / 0.587 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006132/0.02578, allocations: 0.6972 MB / 0.5877 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.02605, allocations: 338.9 kB / 0.588 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.373e-05/0.02612, allocations: 60 kB / 0.5881 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006077/0.02672, allocations: 491.1 kB / 0.5886 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.02683, allocations: 171.1 kB / 0.5887 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.02701, allocations: 299.2 kB / 0.589 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.02803, allocations: 1.238 MB / 0.5902 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.02804, allocations: 0 / 0.5902 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.293e-06/0.02804, allocations: 0 / 0.5902 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.02805, allocations: 0 / 0.5902 GB, free: 8.082 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.001242/0.02929, allocations: 1.239 MB / 0.5914 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.02932, allocations: 8.031 kB / 0.5914 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.0295, allocations: 120.2 kB / 0.5916 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00069/0.03019, allocations: 0.6031 MB / 0.5921 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.03022, allocations: 45.69 kB / 0.5922 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.515e-05/0.03029, allocations: 67.89 kB / 0.5923 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009056/0.03119, allocations: 0.6856 MB / 0.5929 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.03121, allocations: 3.984 kB / 0.5929 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.03124, allocations: 24 kB / 0.593 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.03125, allocations: 19.94 kB / 0.593 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006283/0.03188, allocations: 0.6414 MB / 0.5936 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.03382, allocations: 2.118 MB / 0.5957 GB, free: 2.359 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/0.03448, allocations: 0.5922 MB / 0.5962 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.03472, allocations: 239.5 kB / 0.5965 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.03575, allocations: 0.951 MB / 0.5974 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.03577, allocations: 47.05 kB / 0.5974 GB, free: 492 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=58): time 1.412e-06/0.03577, allocations: 0 / 0.5974 GB, free: 492 kB / 0.5105 GB Notification: Performance of matching and sorting (n=58): time 0.00188/0.03765, allocations: 1.034 MB / 0.5985 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.03769, allocations: 81.61 kB / 0.5985 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004464/0.03813, allocations: 0.6256 MB / 0.5991 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.03816, allocations: 37.7 kB / 0.5992 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004321/0.03859, allocations: 428.6 kB / 0.5996 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.532e-05/0.03869, allocations: 214.3 kB / 0.5998 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.03879, allocations: 122.6 kB / 0.5999 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.422e-05/0.03887, allocations: 333.9 kB / 0.6002 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.03906, allocations: 173.9 kB / 0.6004 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.03931, allocations: 309.2 kB / 0.6007 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.0398, allocations: 0.5066 MB / 0.6012 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.0398, allocations: 0 / 0.6012 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001154/0.04096, allocations: 0.8309 MB / 0.602 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.04097, allocations: 8 kB / 0.602 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.04098, allocations: 4 kB / 0.602 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008197/0.0418, allocations: 314.4 kB / 0.6023 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.04201, allocations: 119.8 kB / 0.6024 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.04336, allocations: 2.662 MB / 0.605 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.04355, allocations: 67.55 kB / 0.6051 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.04357, allocations: 24 kB / 0.6051 GB, free: 8.277 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.0001783/0.04375, allocations: 195.4 kB / 0.6053 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-05/0.04383, allocations: 91.56 kB / 0.6054 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.0449, allocations: 0.8239 MB / 0.6062 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.0449, allocations: 8 kB / 0.6062 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.04491, allocations: 7.938 kB / 0.6062 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.04491, allocations: 3.984 kB / 0.6062 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.0465, allocations: 1.225 MB / 0.6074 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.0465, allocations: 0 / 0.6074 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.04666, allocations: 75.91 kB / 0.6075 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007429/0.0474, allocations: 310.3 kB / 0.6078 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.04743, allocations: 15.98 kB / 0.6078 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.04866, allocations: 2.666 MB / 0.6104 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.04867, allocations: 7.938 kB / 0.6104 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.04971, allocations: 1.016 MB / 0.6114 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.04985, allocations: 131.3 kB / 0.6115 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.04989, allocations: 15.94 kB / 0.6115 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.05005, allocations: 8 kB / 0.6115 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.05011, allocations: 48.36 kB / 0.6116 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.05013, allocations: 27.92 kB / 0.6116 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003198/0.05045, allocations: 435 kB / 0.612 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.05045, allocations: 0 / 0.612 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004792/0.05093, allocations: 295.4 kB / 0.6123 GB, free: 0.6328 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.0003643/0.05129, allocations: 376.3 kB / 0.6127 GB, free: 272 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007434/0.05204, allocations: 0.603 MB / 0.6133 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.05204, allocations: 0 / 0.6133 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000637/0.05268, allocations: 374.5 kB / 0.6136 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007275/0.0534, allocations: 264.3 kB / 0.6139 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.05493, allocations: 1.473 MB / 0.6153 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.05514, allocations: 366.2 kB / 0.6156 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.987e-05/0.05524, allocations: 64.48 kB / 0.6157 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of SimCode: time 5.11e-07/0.05524, allocations: 0 / 0.6157 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of Templates: time 0.01543/0.07067, allocations: 23.07 MB / 0.6382 GB, free: 6.02 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (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 & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1200] 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: 6.7061586026102304]