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.001584/0.001584, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001724/0.001724, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.478/1.478, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.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.7574/0.7574, allocations: 94.59 MB / 400.7 MB, free: 15.75 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: 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.002472/0.002472, allocations: 84.03 kB / 0.5469 GB, free: 42.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.108, allocations: 71.85 MB / 0.6171 GB, free: 8.438 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02108/0.129, allocations: 17.66 MB / 0.6343 GB, free: 6.695 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008738/0.1378, allocations: 6.879 MB / 0.641 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005458/0.1383, allocations: 27.81 kB / 0.6411 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008048/0.1391, allocations: 282.1 kB / 0.6413 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.1407, allocations: 0.5473 MB / 0.6419 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009346/0.1416, allocations: 358.7 kB / 0.6422 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.1428, allocations: 0.8203 MB / 0.643 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.143, allocations: 93.55 kB / 0.6431 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006765/0.1437, allocations: 354.5 kB / 0.6434 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000452/0.1441, allocations: 306.4 kB / 0.6437 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.262e-05/0.1442, allocations: 40 kB / 0.6438 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000989/0.1452, allocations: 359.6 kB / 0.6441 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.1454, allocations: 111.4 kB / 0.6442 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003368/0.1457, allocations: 306.2 kB / 0.6445 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.1472, allocations: 0.8442 MB / 0.6453 GB, free: 11.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1472, allocations: 0 / 0.6453 GB, free: 11.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1472, allocations: 0 / 0.6453 GB, free: 11.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.1472, allocations: 0 / 0.6453 GB, free: 11.36 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.002058/0.1493, allocations: 0.9921 MB / 0.6463 GB, free: 10.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1493, allocations: 8.031 kB / 0.6463 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.1495, allocations: 80.42 kB / 0.6464 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.1507, allocations: 0.5197 MB / 0.6469 GB, free: 9.676 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.1507, allocations: 36.94 kB / 0.6469 GB, free: 9.641 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/0.1508, allocations: 43.95 kB / 0.647 GB, free: 9.598 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008668/0.1517, allocations: 459.8 kB / 0.6474 GB, free: 9.133 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.1517, allocations: 0 / 0.6474 GB, free: 9.133 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.199e-05/0.1517, allocations: 16 kB / 0.6474 GB, free: 9.117 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.1517, allocations: 12 kB / 0.6474 GB, free: 9.105 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007622/0.1525, allocations: 415.7 kB / 0.6478 GB, free: 8.695 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002898/0.1554, allocations: 2.061 MB / 0.6498 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007316/0.1561, allocations: 380.2 kB / 0.6502 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.1564, allocations: 174.3 kB / 0.6504 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001788/0.1582, allocations: 1.403 MB / 0.6517 GB, free: 4.312 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.1583, allocations: 38.88 kB / 0.6518 GB, free: 4.266 MB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 2.104e-06/0.1583, allocations: 0 / 0.6518 GB, free: 4.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.006344/0.1646, allocations: 1.444 MB / 0.6532 GB, free: 2.773 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.1647, allocations: 88.98 kB / 0.6533 GB, free: 2.668 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006738/0.1653, allocations: 479 kB / 0.6537 GB, free: 2.188 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.1654, allocations: 41.64 kB / 0.6538 GB, free: 2.141 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.1656, allocations: 292.7 kB / 0.654 GB, free: 1.852 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.1658, allocations: 150.7 kB / 0.6542 GB, free: 1.703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.1659, allocations: 74.12 kB / 0.6543 GB, free: 1.625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.1661, allocations: 366.8 kB / 0.6546 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.1664, allocations: 128.8 kB / 0.6547 GB, free: 1.129 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.1667, allocations: 185.8 kB / 0.6549 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005818/0.1673, allocations: 323 kB / 0.6552 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1673, allocations: 0 / 0.6552 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002975/0.1703, allocations: 0.803 MB / 0.656 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.1703, allocations: 4 kB / 0.656 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1703, allocations: 4 kB / 0.656 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002875/0.1732, allocations: 497.2 kB / 0.6565 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.1735, allocations: 63.91 kB / 0.6565 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.1757, allocations: 2.193 MB / 0.6587 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.176, allocations: 47.72 kB / 0.6587 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.1761, allocations: 19.94 kB / 0.6588 GB, free: 12.79 MB / 0.4981 GB 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.0002825/0.1763, allocations: 165.8 kB / 0.6589 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.1765, allocations: 55.62 kB / 0.659 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/0.1796, allocations: 0.8686 MB / 0.6598 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/0.1796, allocations: 4 kB / 0.6598 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1796, allocations: 0 / 0.6598 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.1796, allocations: 3.984 kB / 0.6598 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003714/0.1834, allocations: 1.356 MB / 0.6611 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.1834, allocations: 7.984 kB / 0.6612 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.1836, allocations: 48.05 kB / 0.6612 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00274/0.1863, allocations: 0.4934 MB / 0.6617 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.1864, allocations: 8 kB / 0.6617 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.1885, allocations: 2.204 MB / 0.6638 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1885, allocations: 0 / 0.6638 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003269/0.1917, allocations: 1.103 MB / 0.6649 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/0.192, allocations: 164.6 kB / 0.6651 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.951e-05/0.1921, allocations: 12 kB / 0.6651 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.1924, allocations: 8 kB / 0.6651 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/0.1924, allocations: 31.7 kB / 0.6651 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.1925, allocations: 16 kB / 0.6651 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004551/0.1929, allocations: 346.8 kB / 0.6655 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1929, allocations: 4.062 kB / 0.6655 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007016/0.1936, allocations: 199.5 kB / 0.6657 GB, free: 5.395 MB / 0.4981 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004659/0.1941, allocations: 295 kB / 0.6659 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009871/0.1951, allocations: 466 kB / 0.6664 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1951, allocations: 0 / 0.6664 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005434/0.1956, allocations: 299 kB / 0.6667 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009384/0.1966, allocations: 157.3 kB / 0.6668 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.1987, allocations: 1.128 MB / 0.6679 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.1992, allocations: 0.8668 MB / 0.6688 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002567/0.1995, allocations: 82.75 kB / 0.6689 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.1996, allocations: 43.44 kB / 0.6689 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.1996, allocations: 0 / 0.6689 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of Templates: time 0.0212/0.2208, allocations: 10.82 MB / 0.6795 GB, free: 7.277 MB / 0.5137 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.699513651896268]