Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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.001778/0.001778, allocations: 106.5 kB / 17.6 MB, free: 4.703 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.001856/0.001856, allocations: 190.7 kB / 20.78 MB, free: 1.543 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.443/1.443, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.5986/0.5986, allocations: 90.3 MB / 394.8 MB, free: 3.852 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 83.81 kB / 0.5386 GB, free: 1.617 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3831, allocations: 70.82 MB / 0.6078 GB, free: 7.41 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01686/0.4, allocations: 17.51 MB / 0.6249 GB, free: 11.01 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008412/0.4084, allocations: 6.805 MB / 0.6316 GB, free: 6.184 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004175/0.4088, allocations: 19.5 kB / 0.6316 GB, free: 6.172 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008107/0.4096, allocations: 273.7 kB / 0.6318 GB, free: 6.016 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.411, allocations: 0.507 MB / 0.6323 GB, free: 5.695 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009051/0.4119, allocations: 365.1 kB / 0.6327 GB, free: 5.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008637/0.4127, allocations: 0.7108 MB / 0.6334 GB, free: 5.141 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.4129, allocations: 94.58 kB / 0.6335 GB, free: 5.094 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005391/0.4135, allocations: 310.5 kB / 0.6338 GB, free: 4.945 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003675/0.4138, allocations: 281.8 kB / 0.634 GB, free: 4.812 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.4139, allocations: 43.78 kB / 0.6341 GB, free: 4.809 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000948/0.4149, allocations: 370 kB / 0.6344 GB, free: 4.703 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.415, allocations: 97.48 kB / 0.6345 GB, free: 4.637 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002757/0.4152, allocations: 275.4 kB / 0.6348 GB, free: 4.473 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.4164, allocations: 0.7471 MB / 0.6355 GB, free: 4.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4164, allocations: 1.219 kB / 0.6355 GB, free: 4.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4164, allocations: 0 / 0.6355 GB, free: 4.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.4165, allocations: 0 / 0.6355 GB, free: 4.16 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001643/0.4181, allocations: 0.8953 MB / 0.6364 GB, free: 3.473 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.4181, allocations: 9.5 kB / 0.6364 GB, free: 3.473 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.4183, allocations: 69 kB / 0.6365 GB, free: 3.438 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005966/0.4189, allocations: 397.3 kB / 0.6368 GB, free: 3.117 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.419, allocations: 29.28 kB / 0.6369 GB, free: 3.102 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.419, allocations: 39.34 kB / 0.6369 GB, free: 3.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008265/0.4199, allocations: 461.2 kB / 0.6373 GB, free: 2.867 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.4199, allocations: 8.375 kB / 0.6373 GB, free: 2.859 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.4199, allocations: 20.5 kB / 0.6374 GB, free: 2.844 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.42, allocations: 14.05 kB / 0.6374 GB, free: 2.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008439/0.4208, allocations: 413.5 kB / 0.6378 GB, free: 2.695 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/0.4236, allocations: 2.024 MB / 0.6398 GB, free: 1.109 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007233/0.4243, allocations: 388.7 kB / 0.6401 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.4246, allocations: 159.6 kB / 0.6403 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/0.4262, allocations: 1.399 MB / 0.6416 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.4263, allocations: 42.8 kB / 0.6417 GB, free: 15.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 1.643e-06/0.4263, allocations: 0 / 0.6417 GB, free: 15.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.005908/0.4322, allocations: 1.435 MB / 0.6431 GB, free: 14.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.4322, allocations: 94.08 kB / 0.6432 GB, free: 14.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/0.4327, allocations: 373.1 kB / 0.6435 GB, free: 14.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.4327, allocations: 31.39 kB / 0.6436 GB, free: 14.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.4329, allocations: 257.2 kB / 0.6438 GB, free: 14.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.4331, allocations: 143.2 kB / 0.6439 GB, free: 14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.4332, allocations: 78.95 kB / 0.644 GB, free: 13.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.4334, allocations: 360.8 kB / 0.6444 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.4336, allocations: 121.1 kB / 0.6445 GB, free: 13.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.4339, allocations: 187.6 kB / 0.6447 GB, free: 13.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/0.4344, allocations: 335.2 kB / 0.645 GB, free: 13.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4344, allocations: 3.938 kB / 0.645 GB, free: 13.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002694/0.4371, allocations: 0.7804 MB / 0.6457 GB, free: 12.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4371, allocations: 6.656 kB / 0.6457 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4372, allocations: 1.344 kB / 0.6457 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002626/0.4398, allocations: 499 kB / 0.6462 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.44, allocations: 65.25 kB / 0.6463 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.442, allocations: 2.209 MB / 0.6484 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.4423, allocations: 37.5 kB / 0.6485 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.4424, allocations: 16.38 kB / 0.6485 GB, free: 10.44 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (36): * Single equations (assignments): 34 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002126/0.4426, allocations: 171.9 kB / 0.6487 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.4427, allocations: 44.34 kB / 0.6487 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00296/0.4456, allocations: 0.8508 MB / 0.6495 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.4456, allocations: 3.938 kB / 0.6495 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4456, allocations: 4.938 kB / 0.6495 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.4457, allocations: 8.609 kB / 0.6495 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/0.4491, allocations: 1.34 MB / 0.6509 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.4491, allocations: 1.375 kB / 0.6509 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.4493, allocations: 50.66 kB / 0.6509 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002593/0.4519, allocations: 498.6 kB / 0.6514 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.452, allocations: 16.42 kB / 0.6514 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.4539, allocations: 2.196 MB / 0.6535 GB, free: 6.504 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4539, allocations: 1.516 kB / 0.6535 GB, free: 6.504 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/0.4571, allocations: 1.085 MB / 0.6546 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/0.4574, allocations: 157.5 kB / 0.6548 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.894e-05/0.4575, allocations: 15.55 kB / 0.6548 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.4578, allocations: 12.22 kB / 0.6548 GB, free: 5.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/0.4579, allocations: 32.95 kB / 0.6548 GB, free: 5.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.4579, allocations: 12.66 kB / 0.6548 GB, free: 5.656 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004131/0.4583, allocations: 284.3 kB / 0.6551 GB, free: 5.477 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4583, allocations: 3.938 kB / 0.6551 GB, free: 5.473 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008386/0.4591, allocations: 184.9 kB / 0.6553 GB, free: 5.422 MB / 494.1 MB 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005347/0.4597, allocations: 288.6 kB / 0.6555 GB, free: 5.242 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009941/0.4607, allocations: 460 kB / 0.656 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.4607, allocations: 0 / 0.656 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005151/0.4612, allocations: 303.6 kB / 0.6563 GB, free: 4.762 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009041/0.4621, allocations: 155.3 kB / 0.6564 GB, free: 4.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.4641, allocations: 1.027 MB / 0.6574 GB, free: 3.992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.4646, allocations: 0.8337 MB / 0.6582 GB, free: 3.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.4648, allocations: 67 kB / 0.6583 GB, free: 3.199 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/0.4649, allocations: 39.12 kB / 0.6583 GB, free: 3.184 MB / 494.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4649, allocations: 0 / 0.6583 GB, free: 3.184 MB / 494.1 MB Notification: Performance of Templates: time 0.01944/0.4843, allocations: 10.55 MB / 0.6686 GB, free: 11.88 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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: 5.756304074078798]