Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001278/0.001278, allocations: 113.8 kB / 17.61 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.001329/0.001329, allocations: 186 kB / 20.78 MB, free: 1.547 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.442/1.442, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6249/0.6249, allocations: 94.58 MB / 399.1 MB, free: 15.78 MB / 334.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-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_dev_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_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 80.16 kB / 0.5448 GB, free: 12.06 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3932, allocations: 71.85 MB / 0.615 GB, free: 4.082 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02108/0.4143, allocations: 17.65 MB / 0.6322 GB, free: 7.586 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.4255, allocations: 6.874 MB / 0.6389 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007638/0.4263, allocations: 26 kB / 0.6389 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009339/0.4272, allocations: 285.7 kB / 0.6392 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.4294, allocations: 0.5447 MB / 0.6397 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.4305, allocations: 365.8 kB / 0.6401 GB, free: 1.984 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.4317, allocations: 0.8152 MB / 0.6409 GB, free: 1.574 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.4319, allocations: 95.61 kB / 0.641 GB, free: 1.527 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006985/0.4326, allocations: 364.9 kB / 0.6413 GB, free: 1.336 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004098/0.433, allocations: 302.2 kB / 0.6416 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.376e-05/0.4331, allocations: 39.19 kB / 0.6417 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.4342, allocations: 366.3 kB / 0.642 GB, free: 1.004 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.4344, allocations: 107.9 kB / 0.6421 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003177/0.4347, allocations: 302.2 kB / 0.6424 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.4361, allocations: 0.8407 MB / 0.6432 GB, free: 180 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4361, allocations: 0 / 0.6432 GB, free: 180 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4361, allocations: 0 / 0.6432 GB, free: 180 kB / 478.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.4361, allocations: 0 / 0.6432 GB, free: 180 kB / 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.001802/0.4379, allocations: 0.9845 MB / 0.6442 GB, free: 15.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.438, allocations: 9.531 kB / 0.6442 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.4382, allocations: 81.89 kB / 0.6443 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008935/0.4391, allocations: 0.529 MB / 0.6448 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.4391, allocations: 32.97 kB / 0.6448 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.997e-05/0.4392, allocations: 51.03 kB / 0.6449 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007702/0.4399, allocations: 456 kB / 0.6453 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.44, allocations: 5.312 kB / 0.6453 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.44, allocations: 14.75 kB / 0.6453 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.44, allocations: 11 kB / 0.6453 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006889/0.4407, allocations: 409.6 kB / 0.6457 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.4436, allocations: 2.059 MB / 0.6477 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/0.4443, allocations: 383.5 kB / 0.6481 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.4446, allocations: 160.7 kB / 0.6482 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001771/0.4463, allocations: 1.415 MB / 0.6496 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.4464, allocations: 45.59 kB / 0.6497 GB, free: 10.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 1.583e-06/0.4464, allocations: 0 / 0.6497 GB, free: 10.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.006151/0.4525, allocations: 1.451 MB / 0.6511 GB, free: 9.855 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/0.4526, allocations: 90.23 kB / 0.6512 GB, free: 9.754 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006813/0.4533, allocations: 486.3 kB / 0.6516 GB, free: 9.457 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.4533, allocations: 31.14 kB / 0.6517 GB, free: 9.422 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.4536, allocations: 291.6 kB / 0.6519 GB, free: 9.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.4537, allocations: 147.6 kB / 0.6521 GB, free: 9.031 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.4538, allocations: 78.19 kB / 0.6522 GB, free: 8.977 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.454, allocations: 363.8 kB / 0.6525 GB, free: 8.625 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.4543, allocations: 124.7 kB / 0.6526 GB, free: 8.566 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.4546, allocations: 186.2 kB / 0.6528 GB, free: 8.438 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000594/0.4552, allocations: 332.2 kB / 0.6531 GB, free: 8.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4552, allocations: 0 / 0.6531 GB, free: 8.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00293/0.4581, allocations: 0.7988 MB / 0.6539 GB, free: 7.848 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.4582, allocations: 5.344 kB / 0.6539 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4582, allocations: 1.094 kB / 0.6539 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002758/0.4609, allocations: 491.9 kB / 0.6544 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.4612, allocations: 68.75 kB / 0.6544 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.4634, allocations: 2.201 MB / 0.6566 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.4638, allocations: 41.59 kB / 0.6566 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.4638, allocations: 15 kB / 0.6566 GB, free: 5.469 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.0002598/0.4641, allocations: 175.8 kB / 0.6568 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.4642, allocations: 57.06 kB / 0.6569 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003052/0.4672, allocations: 0.8592 MB / 0.6577 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.4673, allocations: 5.344 kB / 0.6577 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.4673, allocations: 1.125 kB / 0.6577 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.4673, allocations: 9.234 kB / 0.6577 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/0.471, allocations: 1.365 MB / 0.6591 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.471, allocations: 1.531 kB / 0.6591 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.4712, allocations: 44.98 kB / 0.6591 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002719/0.4739, allocations: 499.2 kB / 0.6596 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.474, allocations: 12.69 kB / 0.6596 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.476, allocations: 2.204 MB / 0.6617 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.476, allocations: 5.188 kB / 0.6617 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003294/0.4793, allocations: 1.092 MB / 0.6628 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.4796, allocations: 176.2 kB / 0.663 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.905e-05/0.4797, allocations: 8.062 kB / 0.663 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.48, allocations: 12.47 kB / 0.663 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.4801, allocations: 36.52 kB / 0.663 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.4801, allocations: 9.375 kB / 0.663 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000462/0.4806, allocations: 351.8 kB / 0.6634 GB, free: 444 kB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4806, allocations: 0 / 0.6634 GB, free: 444 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007363/0.4813, allocations: 191.9 kB / 0.6636 GB, free: 388 kB / 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.0004703/0.4818, allocations: 300.1 kB / 0.6638 GB, free: 192 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000977/0.4827, allocations: 455.4 kB / 0.6643 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4827, allocations: 1.219 kB / 0.6643 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.4833, allocations: 295.3 kB / 0.6646 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009239/0.4842, allocations: 157.9 kB / 0.6647 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.4863, allocations: 1.133 MB / 0.6658 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.4868, allocations: 0.8667 MB / 0.6667 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002726/0.4871, allocations: 79.58 kB / 0.6667 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.4872, allocations: 45.16 kB / 0.6668 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of SimCode: time 5.1e-07/0.4872, allocations: 0 / 0.6668 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.02032/0.5075, allocations: 10.81 MB / 0.6773 GB, free: 3.891 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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.873805747367442]