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.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.00162/0.00162, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001852/0.001852, allocations: 166.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.466/1.466, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.012/1.012, allocations: 116.1 MB / 375.2 MB, free: 7.5 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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="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 1.824e-06/1.824e-06, allocations: 0 / 0.5537 GB, free: 13.77 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.638e-05/3.82e-05, allocations: 2.281 kB / 0.5538 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02163/0.02167, allocations: 17.12 MB / 0.5705 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008012/0.02968, allocations: 5.438 MB / 0.5758 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006331/0.03032, allocations: 39.62 kB / 0.5758 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009532/0.03127, allocations: 258 kB / 0.5761 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.03348, allocations: 0.5973 MB / 0.5766 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.03476, allocations: 390.4 kB / 0.577 GB, free: 5.848 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.03616, allocations: 0.9092 MB / 0.5779 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.03645, allocations: 94.09 kB / 0.578 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.03747, allocations: 0.5024 MB / 0.5785 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003927/0.03786, allocations: 235.2 kB / 0.5787 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.714e-05/0.03794, allocations: 40 kB / 0.5788 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009967/0.03893, allocations: 331.4 kB / 0.5791 GB, free: 3.738 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.03908, allocations: 115.4 kB / 0.5792 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.03938, allocations: 211.4 kB / 0.5794 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.041, allocations: 0.8604 MB / 0.5802 GB, free: 2.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.041, allocations: 3.938 kB / 0.5802 GB, free: 2.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.041, allocations: 0 / 0.5802 GB, free: 2.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.04102, allocations: 0 / 0.5802 GB, free: 2.551 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001879/0.0429, allocations: 0.9285 MB / 0.5811 GB, free: 1.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.04293, allocations: 12.03 kB / 0.5811 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002942/0.04323, allocations: 88.41 kB / 0.5812 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.04471, allocations: 493.2 kB / 0.5817 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.04477, allocations: 33.38 kB / 0.5817 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.04488, allocations: 40.12 kB / 0.5818 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.0462, allocations: 476.6 kB / 0.5822 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.04622, allocations: 4 kB / 0.5822 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.639e-05/0.04629, allocations: 19.98 kB / 0.5822 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.04631, allocations: 8 kB / 0.5823 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.0474, allocations: 419.8 kB / 0.5827 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002737/0.05014, allocations: 1.489 MB / 0.5841 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007151/0.05086, allocations: 363.9 kB / 0.5845 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.05117, allocations: 161.4 kB / 0.5846 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001463/0.05263, allocations: 0.7098 MB / 0.5853 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.05268, allocations: 42.56 kB / 0.5853 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.884e-06/0.05268, allocations: 0 / 0.5853 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.002705/0.05538, allocations: 0.6669 MB / 0.586 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.0555, allocations: 81.11 kB / 0.5861 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006789/0.05618, allocations: 495 kB / 0.5865 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.05622, allocations: 33.69 kB / 0.5866 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.0565, allocations: 320.4 kB / 0.5869 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.05667, allocations: 138.8 kB / 0.587 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.05681, allocations: 78.16 kB / 0.5871 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.05701, allocations: 370.7 kB / 0.5874 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.05724, allocations: 105.1 kB / 0.5875 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.05756, allocations: 202.3 kB / 0.5877 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/0.05812, allocations: 313.3 kB / 0.588 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.05812, allocations: 0 / 0.588 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001247/0.05937, allocations: 0.4946 MB / 0.5885 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.05939, allocations: 4 kB / 0.5885 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.0594, allocations: 4 kB / 0.5885 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.06055, allocations: 177.6 kB / 0.5887 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.06085, allocations: 71.91 kB / 0.5888 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.06304, allocations: 2.004 MB / 0.5907 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.06341, allocations: 31.78 kB / 0.5907 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.06345, allocations: 16 kB / 0.5908 GB, free: 7.277 MB / 0.4981 GB 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 (42): * Single equations (assignments): 40 * 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.0003012/0.06376, allocations: 173.7 kB / 0.5909 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.0639, allocations: 63.52 kB / 0.591 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.06494, allocations: 0.4935 MB / 0.5915 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.06495, allocations: 4 kB / 0.5915 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.06495, allocations: 0 / 0.5915 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.06496, allocations: 11.92 kB / 0.5915 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.067, allocations: 0.8754 MB / 0.5923 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.067, allocations: 3.938 kB / 0.5923 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.06723, allocations: 55.91 kB / 0.5924 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.06825, allocations: 165.6 kB / 0.5926 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.06829, allocations: 12 kB / 0.5926 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.07025, allocations: 2.001 MB / 0.5945 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.07025, allocations: 0 / 0.5945 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.07179, allocations: 0.7132 MB / 0.5952 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.07199, allocations: 95.53 kB / 0.5953 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/0.07207, allocations: 15.94 kB / 0.5953 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.07233, allocations: 8 kB / 0.5953 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/0.07242, allocations: 27.89 kB / 0.5954 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.07245, allocations: 11.98 kB / 0.5954 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004785/0.07292, allocations: 350.8 kB / 0.5957 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.07292, allocations: 0 / 0.5957 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007205/0.07364, allocations: 183.7 kB / 0.5959 GB, free: 1.809 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005062/0.07415, allocations: 274.9 kB / 0.5961 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.07522, allocations: 430.8 kB / 0.5966 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.07523, allocations: 4 kB / 0.5966 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005558/0.07579, allocations: 278.7 kB / 0.5968 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.07691, allocations: 191.5 kB / 0.597 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.07896, allocations: 1.034 MB / 0.598 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.07927, allocations: 275.8 kB / 0.5983 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002973/0.07957, allocations: 90.2 kB / 0.5984 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.07969, allocations: 44.48 kB / 0.5984 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.07969, allocations: 0 / 0.5984 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.02055/0.1002, allocations: 10.16 MB / 0.6083 GB, free: 5.16 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/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: 6.14310409873724]