Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.001911/0.001911, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002313/0.002313, allocations: 209.6 kB / 23.73 MB, free: 4.387 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2377/0.2377, allocations: 46.96 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 63.91 kB / 0.4966 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3627, allocations: 66.03 MB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003947/0.3666, allocations: 2.05 MB / 0.5631 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.3688, allocations: 1.261 MB / 0.5643 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.856e-05/0.3688, allocations: 4 kB / 0.5643 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.3692, allocations: 71.48 kB / 0.5644 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.3694, allocations: 75.41 kB / 0.5645 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006128/0.37, allocations: 213.8 kB / 0.5647 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.3702, allocations: 151 kB / 0.5648 GB, free: 364 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.841e-05/0.3702, allocations: 8.594 kB / 0.5648 GB, free: 352 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.3705, allocations: 71.53 kB / 0.5649 GB, free: 280 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.3706, allocations: 59.59 kB / 0.565 GB, free: 220 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.3706, allocations: 4 kB / 0.565 GB, free: 216 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.371, allocations: 215.7 kB / 0.5652 GB, free: 0 / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.061e-05/0.3711, allocations: 23.92 kB / 0.5652 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.808e-05/0.3712, allocations: 51.62 kB / 0.5652 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005547/0.3717, allocations: 386.3 kB / 0.5656 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.3717, allocations: 4 kB / 0.5656 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3717, allocations: 4 kB / 0.5656 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3717, allocations: 0 / 0.5656 GB, free: 15.54 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007173/0.3725, allocations: 433 kB / 0.566 GB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3725, allocations: 8.031 kB / 0.566 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/0.3726, allocations: 24.8 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.3728, allocations: 155.8 kB / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.3728, allocations: 8.375 kB / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.3729, allocations: 24.12 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004278/0.3733, allocations: 206.7 kB / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.3733, allocations: 4 kB / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.3733, allocations: 11.94 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.3733, allocations: 4 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/0.3737, allocations: 148.2 kB / 0.5666 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009274/0.3746, allocations: 482.5 kB / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.3748, allocations: 66.48 kB / 0.5671 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.3749, allocations: 28.95 kB / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/0.375, allocations: 4 kB / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.375, allocations: 34.56 kB / 0.5672 GB, free: 13.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.375, allocations: 0 / 0.5672 GB, free: 13.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005116/0.3755, allocations: 129.5 kB / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.3756, allocations: 51.41 kB / 0.5674 GB, free: 13.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.3758, allocations: 198.8 kB / 0.5676 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.3758, allocations: 25.7 kB / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.376, allocations: 179.9 kB / 0.5677 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.376, allocations: 27.78 kB / 0.5678 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.696e-05/0.3761, allocations: 37.7 kB / 0.5678 GB, free: 13.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3763, allocations: 330.8 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3764, allocations: 31.97 kB / 0.5682 GB, free: 12.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.3766, allocations: 132.8 kB / 0.5683 GB, free: 12.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.377, allocations: 184.6 kB / 0.5685 GB, free: 12.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.377, allocations: 8 kB / 0.5685 GB, free: 12.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004293/0.3774, allocations: 189.3 kB / 0.5686 GB, free: 12.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3775, allocations: 4.438 kB / 0.5687 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.393e-05/0.3775, allocations: 19.98 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.3775, allocations: 7.938 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.3777, allocations: 39.91 kB / 0.5687 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/0.3777, allocations: 7.938 kB / 0.5687 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.3778, allocations: 24.02 kB / 0.5687 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.3778, allocations: 16 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.378, allocations: 129.7 kB / 0.5689 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.378, allocations: 7.953 kB / 0.5689 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/0.3784, allocations: 146.5 kB / 0.569 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3784, allocations: 0 / 0.569 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3784, allocations: 4 kB / 0.569 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3784, allocations: 0 / 0.569 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.3787, allocations: 161.2 kB / 0.5692 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/0.3787, allocations: 16 kB / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.3787, allocations: 7.984 kB / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3787, allocations: 0 / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.3788, allocations: 0 / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3788, allocations: 4 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3788, allocations: 0 / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.3791, allocations: 195.4 kB / 0.5694 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.3791, allocations: 15.91 kB / 0.5694 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.3791, allocations: 3.984 kB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.3792, allocations: 8 kB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.3793, allocations: 7.984 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.3793, allocations: 4 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.3794, allocations: 128.2 kB / 0.5696 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3794, allocations: 3.938 kB / 0.5696 GB, free: 11.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004525/0.3799, allocations: 87.69 kB / 0.5697 GB, free: 11.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000347/0.3802, allocations: 163 kB / 0.5698 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004687/0.3807, allocations: 163.8 kB / 0.57 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3807, allocations: 4 kB / 0.57 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.3809, allocations: 99.62 kB / 0.5701 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.3812, allocations: 15.94 kB / 0.5701 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00075/0.382, allocations: 360.8 kB / 0.5704 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.3821, allocations: 124.6 kB / 0.5705 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.15e-05/0.3822, allocations: 8.969 kB / 0.5705 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.3822, allocations: 11.44 kB / 0.5706 GB, free: 10.05 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3822, allocations: 0 / 0.5706 GB, free: 10.05 MB / 414.1 MB Notification: Performance of Templates: time 0.008757/0.391, allocations: 3.704 MB / 0.5742 GB, free: 6.414 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.588345026597381]