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.001495/0.001495, allocations: 112.6 kB / 18.68 MB, free: 3.316 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.001893/0.001893, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 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.503/1.503, allocations: 225.6 MB / 250.6 MB, free: 13.39 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.8467/0.8467, allocations: 94.6 MB / 400.4 MB, free: 15.81 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_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.002265/0.002265, allocations: 82.3 kB / 0.5464 GB, free: 42.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1205, allocations: 71.85 MB / 0.6166 GB, free: 8.602 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02145/0.1419, allocations: 17.66 MB / 0.6338 GB, free: 6.859 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008884/0.1508, allocations: 6.875 MB / 0.6405 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006788/0.1515, allocations: 27.81 kB / 0.6406 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000833/0.1523, allocations: 278.1 kB / 0.6408 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.154, allocations: 0.5472 MB / 0.6414 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009277/0.1549, allocations: 370.7 kB / 0.6417 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.156, allocations: 0.8125 MB / 0.6425 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.1562, allocations: 93.55 kB / 0.6426 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006075/0.1568, allocations: 354.5 kB / 0.6429 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003881/0.1572, allocations: 306.4 kB / 0.6432 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.882e-05/0.1573, allocations: 40 kB / 0.6433 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.1583, allocations: 363.6 kB / 0.6436 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.1584, allocations: 119.4 kB / 0.6437 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003311/0.1588, allocations: 302.2 kB / 0.644 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.1601, allocations: 0.8364 MB / 0.6448 GB, free: 11.53 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1601, allocations: 0 / 0.6448 GB, free: 11.53 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1601, allocations: 0 / 0.6448 GB, free: 11.53 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1601, allocations: 0 / 0.6448 GB, free: 11.53 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.001709/0.1618, allocations: 0.9921 MB / 0.6458 GB, free: 10.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.1619, allocations: 12.03 kB / 0.6458 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.1621, allocations: 80.42 kB / 0.6459 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009413/0.163, allocations: 0.5197 MB / 0.6464 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.1631, allocations: 32.94 kB / 0.6464 GB, free: 9.809 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.6e-05/0.1631, allocations: 43.95 kB / 0.6465 GB, free: 9.766 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007702/0.1639, allocations: 459.8 kB / 0.6469 GB, free: 9.301 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1639, allocations: 0 / 0.6469 GB, free: 9.301 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.953e-05/0.164, allocations: 16 kB / 0.6469 GB, free: 9.285 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.164, allocations: 16 kB / 0.6469 GB, free: 9.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007387/0.1647, allocations: 407.7 kB / 0.6473 GB, free: 8.867 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002844/0.1676, allocations: 2.069 MB / 0.6493 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007348/0.1683, allocations: 381.1 kB / 0.6497 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.1686, allocations: 168.7 kB / 0.6499 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001726/0.1703, allocations: 1.407 MB / 0.6512 GB, free: 4.477 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.1704, allocations: 42.89 kB / 0.6513 GB, free: 4.426 MB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 1.834e-06/0.1704, allocations: 0 / 0.6513 GB, free: 4.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.006011/0.1764, allocations: 1.441 MB / 0.6527 GB, free: 2.938 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.1764, allocations: 92.98 kB / 0.6528 GB, free: 2.828 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006282/0.1771, allocations: 483 kB / 0.6532 GB, free: 2.344 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.1771, allocations: 33.7 kB / 0.6533 GB, free: 2.305 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.1774, allocations: 288.7 kB / 0.6535 GB, free: 2.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.1775, allocations: 154.7 kB / 0.6537 GB, free: 1.867 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.1776, allocations: 74.12 kB / 0.6538 GB, free: 1.789 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.1778, allocations: 362.8 kB / 0.6541 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.1781, allocations: 128.8 kB / 0.6542 GB, free: 1.297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.1784, allocations: 185.8 kB / 0.6544 GB, free: 1.098 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005846/0.179, allocations: 331 kB / 0.6547 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.179, allocations: 0 / 0.6547 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002848/0.1818, allocations: 0.7954 MB / 0.6555 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.1819, allocations: 8 kB / 0.6555 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1819, allocations: 0 / 0.6555 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002795/0.1847, allocations: 489.3 kB / 0.656 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.1849, allocations: 67.91 kB / 0.656 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.1871, allocations: 2.201 MB / 0.6582 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.1874, allocations: 35.67 kB / 0.6582 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.1875, allocations: 19.98 kB / 0.6582 GB, free: 12.96 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.0002549/0.1877, allocations: 169.7 kB / 0.6584 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.1879, allocations: 55.62 kB / 0.6585 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002921/0.1908, allocations: 0.8705 MB / 0.6593 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1908, allocations: 3.984 kB / 0.6593 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1908, allocations: 0 / 0.6593 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.191, allocations: 168.6 kB / 0.6595 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.1911, allocations: 12 kB / 0.6595 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.1913, allocations: 11.98 kB / 0.6595 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.411e-05/0.1914, allocations: 39.88 kB / 0.6595 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001583/0.193, allocations: 0.6732 MB / 0.6602 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00113/0.1941, allocations: 0.804 MB / 0.661 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002573/0.1944, allocations: 140.7 kB / 0.6611 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004572/0.1948, allocations: 342.8 kB / 0.6614 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of Backend: time 5.51e-07/0.1948, allocations: 0 / 0.6614 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001627/0.1965, allocations: 0.639 MB / 0.6621 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002385/0.1988, allocations: 1.685 MB / 0.6637 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of Templates: time 0.02074/0.2196, allocations: 10.88 MB / 0.6743 GB, free: 12.42 MB / 0.5137 GB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.1337993270135485]