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.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.001295/0.001295, allocations: 111.2 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.001347/0.001347, 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.429/1.429, allocations: 225.6 MB / 249.4 MB, free: 3.137 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.7776/0.7776, allocations: 94.58 MB / 399.1 MB, free: 15.73 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_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 0.003623/0.003623, allocations: 83.84 kB / 0.5448 GB, free: 12.07 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4103, allocations: 71.84 MB / 0.615 GB, free: 4.082 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02632/0.4366, allocations: 23.28 MB / 0.6377 GB, free: 3.59 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.4491, allocations: 9.571 MB / 0.647 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009829/0.4501, allocations: 31.62 kB / 0.6471 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.4513, allocations: 419.4 kB / 0.6475 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002578/0.4539, allocations: 0.8144 MB / 0.6483 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.4552, allocations: 477.8 kB / 0.6487 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001563/0.4568, allocations: 1.166 MB / 0.6499 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.4571, allocations: 144.6 kB / 0.65 GB, free: 10.22 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000923/0.458, allocations: 490.7 kB / 0.6505 GB, free: 9.941 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006446/0.4587, allocations: 447.4 kB / 0.6509 GB, free: 9.648 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.636e-05/0.4587, allocations: 59.53 kB / 0.651 GB, free: 9.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.4606, allocations: 0.5177 MB / 0.6515 GB, free: 9.449 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.4608, allocations: 167.1 kB / 0.6516 GB, free: 9.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004618/0.4612, allocations: 434.6 kB / 0.652 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.4637, allocations: 1.206 MB / 0.6532 GB, free: 8.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4637, allocations: 0 / 0.6532 GB, free: 8.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4637, allocations: 0 / 0.6532 GB, free: 8.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.4637, allocations: 1.344 kB / 0.6532 GB, free: 8.25 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002707/0.4664, allocations: 1.295 MB / 0.6545 GB, free: 7.223 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4665, allocations: 10.22 kB / 0.6545 GB, free: 7.223 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003159/0.4668, allocations: 112.1 kB / 0.6546 GB, free: 7.164 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.4681, allocations: 0.6614 MB / 0.6552 GB, free: 6.617 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.4681, allocations: 48.28 kB / 0.6553 GB, free: 6.598 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.4682, allocations: 71.48 kB / 0.6554 GB, free: 6.566 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.4695, allocations: 0.6598 MB / 0.656 GB, free: 6.156 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.4696, allocations: 8 kB / 0.656 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.4696, allocations: 24.47 kB / 0.656 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.4696, allocations: 12.69 kB / 0.656 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.4708, allocations: 0.6242 MB / 0.6566 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004515/0.4753, allocations: 3.014 MB / 0.6596 GB, free: 3.129 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.4765, allocations: 0.6105 MB / 0.6602 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/0.4769, allocations: 263.2 kB / 0.6604 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002521/0.4795, allocations: 1.901 MB / 0.6623 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.4795, allocations: 41.86 kB / 0.6623 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 2.494e-06/0.4795, allocations: 0 / 0.6623 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.01075/0.4902, allocations: 2.432 MB / 0.6647 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.4903, allocations: 85.11 kB / 0.6648 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00088/0.4912, allocations: 0.5972 MB / 0.6654 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/0.4913, allocations: 35.11 kB / 0.6654 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.4916, allocations: 397 kB / 0.6658 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.4918, allocations: 236.2 kB / 0.666 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.492, allocations: 113.2 kB / 0.6661 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.4922, allocations: 332 kB / 0.6664 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.4926, allocations: 209.5 kB / 0.6666 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/0.4931, allocations: 299.5 kB / 0.6669 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009038/0.494, allocations: 0.5262 MB / 0.6674 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.494, allocations: 1.031 kB / 0.6674 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005385/0.4994, allocations: 1.382 MB / 0.6688 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.4994, allocations: 5.625 kB / 0.6688 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4994, allocations: 2.188 kB / 0.6688 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005462/0.5049, allocations: 0.9407 MB / 0.6697 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/0.5053, allocations: 99.83 kB / 0.6698 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/0.5084, allocations: 2.941 MB / 0.6727 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/0.5091, allocations: 63.55 kB / 0.6727 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.802e-05/0.5092, allocations: 20 kB / 0.6728 GB, free: 8.711 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (56): * Single equations (assignments): 53 * 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,11), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003871/0.5095, allocations: 209.8 kB / 0.673 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/0.5098, allocations: 79.48 kB / 0.673 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005896/0.5157, allocations: 1.471 MB / 0.6745 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.5157, allocations: 11.92 kB / 0.6745 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.5157, allocations: 7.938 kB / 0.6745 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.5157, allocations: 0 / 0.6745 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006825/0.5226, allocations: 2.14 MB / 0.6766 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.5226, allocations: 192 / 0.6766 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.5229, allocations: 83.89 kB / 0.6767 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005205/0.5281, allocations: 0.9235 MB / 0.6776 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.331e-05/0.5282, allocations: 23.98 kB / 0.6776 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003059/0.5313, allocations: 2.949 MB / 0.6805 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.5313, allocations: 0 / 0.6805 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005914/0.5372, allocations: 1.761 MB / 0.6822 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005116/0.5377, allocations: 216.4 kB / 0.6824 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.5379, allocations: 12 kB / 0.6824 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/0.5383, allocations: 20.19 kB / 0.6824 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.5384, allocations: 52.44 kB / 0.6825 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/0.5385, allocations: 19.98 kB / 0.6825 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006458/0.5391, allocations: 427 kB / 0.6829 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5391, allocations: 0 / 0.6829 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001096/0.5402, allocations: 295.3 kB / 0.6832 GB, free: 13.7 MB / 0.5137 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 (41): * Single equations (assignments): 38 * 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,11), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007674/0.541, allocations: 405.3 kB / 0.6836 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.5426, allocations: 0.667 MB / 0.6842 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5426, allocations: 0 / 0.6842 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008268/0.5435, allocations: 417.8 kB / 0.6846 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.5448, allocations: 215.1 kB / 0.6848 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/0.5481, allocations: 1.565 MB / 0.6863 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007533/0.5489, allocations: 0.9542 MB / 0.6873 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004254/0.5493, allocations: 104 kB / 0.6874 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.5494, allocations: 59.42 kB / 0.6874 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of SimCode: time 1.273e-06/0.5494, allocations: 4 kB / 0.6874 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of Templates: time 0.03103/0.5805, allocations: 16.34 MB / 0.7034 GB, free: 9.059 MB / 0.5294 GB " [Timeout remaining time 659] 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.309237606823444]