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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00184/0.003032, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.002445, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9279/0.9279, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09946/1.027, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6447/0.6447, allocations: 118.7 MB / 362.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06176/0.7064, allocations: 35.84 MB / 398.7 MB, free: 13.09 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="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="heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 400 MB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.279e-05, allocations: 2.312 kB / 400 MB, free: 11.78 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.005856/0.005869, allocations: 7.199 MB / 407.2 MB, free: 4.547 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.008138, allocations: 2.126 MB / 409.3 MB, free: 2.414 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.008411, allocations: 35.62 kB / 409.4 MB, free: 2.379 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.008658, allocations: 134.7 kB / 409.5 MB, free: 2.246 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007405/0.009398, allocations: 0.5042 MB / 410 MB, free: 1.738 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.00971, allocations: 227.2 kB / 410.2 MB, free: 1.516 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006464/0.01036, allocations: 0.9171 MB / 411.1 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.01052, allocations: 110.8 kB / 411.3 MB, free: 488 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005917/0.01111, allocations: 0.56 MB / 411.8 MB, free: 15.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.01133, allocations: 239.2 kB / 412 MB, free: 15.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.01138, allocations: 40 kB / 412.1 MB, free: 15.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.01162, allocations: 163.7 kB / 412.2 MB, free: 15.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.01169, allocations: 83.56 kB / 412.3 MB, free: 15.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.01182, allocations: 175.6 kB / 412.5 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005361/0.01236, allocations: 0.5797 MB / 413.1 MB, free: 14.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.01237, allocations: 7.984 kB / 413.1 MB, free: 14.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01237, allocations: 0 / 413.1 MB, free: 14.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.01238, allocations: 0 / 413.1 MB, free: 14.64 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001034/0.01342, allocations: 1.123 MB / 414.2 MB, free: 13.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.01344, allocations: 8.031 kB / 414.2 MB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.01363, allocations: 100.8 kB / 414.3 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.01412, allocations: 0.4979 MB / 414.8 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.01414, allocations: 33.38 kB / 414.8 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.01418, allocations: 36.38 kB / 414.9 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.01449, allocations: 336 kB / 415.2 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.0145, allocations: 7.922 kB / 415.2 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.01453, allocations: 16 kB / 415.2 MB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.01453, allocations: 8 kB / 415.2 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.01471, allocations: 157.7 kB / 415.4 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.0158, allocations: 1.163 MB / 416.6 MB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.01609, allocations: 273 kB / 416.8 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.739e-05/0.01617, allocations: 85.62 kB / 416.9 MB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005914/0.01676, allocations: 0.5872 MB / 417.5 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.01678, allocations: 34.84 kB / 417.5 MB, free: 10.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.323e-06/0.01678, allocations: 0 / 417.5 MB, free: 10.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008856/0.01767, allocations: 450.8 kB / 418 MB, free: 9.559 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.0177, allocations: 81.11 kB / 418.1 MB, free: 9.461 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.01796, allocations: 467.1 kB / 418.5 MB, free: 8.992 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.01797, allocations: 41.64 kB / 418.5 MB, free: 8.945 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.01808, allocations: 249.6 kB / 418.8 MB, free: 8.695 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.01813, allocations: 126.9 kB / 418.9 MB, free: 8.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.0182, allocations: 74.16 kB / 419 MB, free: 8.488 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.0183, allocations: 374.6 kB / 419.4 MB, free: 8.113 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.01834, allocations: 40.98 kB / 419.4 MB, free: 8.074 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.425e-05/0.01844, allocations: 122.7 kB / 419.5 MB, free: 7.922 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.01863, allocations: 211.1 kB / 419.7 MB, free: 7.684 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.01863, allocations: 4 kB / 419.7 MB, free: 7.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003327/0.01896, allocations: 300.6 kB / 420 MB, free: 7.375 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.01898, allocations: 15.22 kB / 420 MB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.01899, allocations: 0 / 420 MB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005053/0.01949, allocations: 173.6 kB / 420.2 MB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.01967, allocations: 83.89 kB / 420.3 MB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008972/0.02057, allocations: 1.781 MB / 422.1 MB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.02068, allocations: 39.73 kB / 422.1 MB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.02069, allocations: 12 kB / 422.1 MB, free: 5.164 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (40): * 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: 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.0208, allocations: 140.6 kB / 422.3 MB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.02085, allocations: 43.95 kB / 422.3 MB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.02121, allocations: 355.6 kB / 422.6 MB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.02121, allocations: 4 kB / 422.6 MB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.02121, allocations: 0 / 422.6 MB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.02122, allocations: 7.984 kB / 422.7 MB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008585/0.02208, allocations: 0.6029 MB / 423.3 MB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.02208, allocations: 4.062 kB / 423.3 MB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.0222, allocations: 60.05 kB / 423.3 MB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.538e-05/0.02227, allocations: 71.48 kB / 423.4 MB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003961/0.02267, allocations: 165.5 kB / 423.6 MB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.02268, allocations: 4 kB / 423.6 MB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007686/0.02345, allocations: 1.782 MB / 425.3 MB, free: 1.742 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.02345, allocations: 3.984 kB / 425.3 MB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.02393, allocations: 0.5054 MB / 425.8 MB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.02396, allocations: 11.94 kB / 425.9 MB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.02407, allocations: 8 kB / 425.9 MB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.02411, allocations: 27.89 kB / 425.9 MB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.02412, allocations: 12 kB / 425.9 MB, free: 1.145 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.02426, allocations: 212.3 kB / 426.1 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02426, allocations: 0 / 426.1 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.02456, allocations: 163.7 kB / 426.3 MB, free: 0.7773 MB / 410.7 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 (25): * Single equations (assignments): 23 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000374/0.02493, allocations: 144.4 kB / 426.4 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000353/0.02528, allocations: 320.3 kB / 426.7 MB, free: 308 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/0.0253, allocations: 8 kB / 426.7 MB, free: 300 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.02652, allocations: 256.6 kB / 427 MB, free: 28 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1622/0.1887, allocations: 1.333 MB / 428.3 MB, free: 14.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006711/0.1954, allocations: 1.038 MB / 429.4 MB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.83e-05/0.1955, allocations: 131.4 kB / 429.5 MB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.1956, allocations: 78.09 kB / 429.6 MB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.1958, allocations: 179.6 kB / 429.7 MB, free: 13.57 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1959, allocations: 1.531 kB / 429.7 MB, free: 13.57 MB / 410.7 MB Notification: Performance of Templates: time 0.01035/0.2062, allocations: 9.542 MB / 439.3 MB, free: 11.41 MB / 410.7 MB " [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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4125017542392015]