Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.001322/0.001322, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001566/0.001566, allocations: 171.5 kB / 24.91 MB, free: 8.77 MB / 18.57 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.082/1.082, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2592/0.2592, allocations: 32.82 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Re|m_flow.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Re|m_flow.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.943e-05, allocations: 3.516 kB / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003027/0.003047, allocations: 2.178 MB / 325.5 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.004921, allocations: 1.678 MB / 327.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.004995, allocations: 0 / 327.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.005245, allocations: 87.33 kB / 327.2 MB, free: 5.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.005374, allocations: 75.42 kB / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.005925, allocations: 342.4 kB / 327.7 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.006064, allocations: 146.9 kB / 327.8 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.00611, allocations: 14.56 kB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.726e-05/0.006207, allocations: 75.67 kB / 327.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.413e-05/0.006292, allocations: 43.84 kB / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.006312, allocations: 4 kB / 327.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006853/0.006997, allocations: 0.5461 MB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.007048, allocations: 27.8 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.871e-05/0.007097, allocations: 51.78 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005426/0.007639, allocations: 0.5646 MB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.007641, allocations: 0 / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.007642, allocations: 0 / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.007647, allocations: 0 / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004154/0.008063, allocations: 421.9 kB / 329.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.008095, allocations: 11.98 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.008138, allocations: 32.91 kB / 329.6 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.008274, allocations: 146 kB / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.008288, allocations: 20.88 kB / 329.7 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.008305, allocations: 16.38 kB / 329.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.008528, allocations: 211.8 kB / 330 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.008538, allocations: 3.938 kB / 330 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.008551, allocations: 4 kB / 330 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.008561, allocations: 15.94 kB / 330 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.83e-05/0.008629, allocations: 75.09 kB / 330.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.00919, allocations: 0.7082 MB / 330.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.227e-05/0.009262, allocations: 34.52 kB / 330.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.343e-05/0.009285, allocations: 16.95 kB / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.009303, allocations: 0 / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.009323, allocations: 38.5 kB / 330.9 MB, free: 1.918 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.009325, allocations: 0 / 330.9 MB, free: 1.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001331/0.009458, allocations: 45.69 kB / 330.9 MB, free: 1.867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.00949, allocations: 51.41 kB / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004188/0.009908, allocations: 222.2 kB / 331.2 MB, free: 1.574 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.009919, allocations: 25.7 kB / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.009993, allocations: 183.8 kB / 331.4 MB, free: 1.359 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.01001, allocations: 23.83 kB / 331.4 MB, free: 1.336 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.01006, allocations: 53.62 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.01014, allocations: 330.7 kB / 331.8 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.68e-05/0.01017, allocations: 16.22 kB / 331.8 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.734e-05/0.01027, allocations: 157.3 kB / 331.9 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.01042, allocations: 218.2 kB / 332.2 MB, free: 424 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01042, allocations: 0 / 332.2 MB, free: 424 kB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001602/0.01058, allocations: 169.5 kB / 332.3 MB, free: 248 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.01059, allocations: 8 kB / 332.3 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.01061, allocations: 8 kB / 332.3 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.01063, allocations: 8 kB / 332.3 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.694e-05/0.01072, allocations: 43.92 kB / 332.4 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.01073, allocations: 11.92 kB / 332.4 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.951e-05/0.0108, allocations: 31.78 kB / 332.4 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.01081, allocations: 12 kB / 332.4 MB, free: 124 kB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_1.geometry,m_flow_IN_con_4.geometry,m_flow_IN_con_4.N) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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 8.291e-05/0.0109, allocations: 136.9 kB / 332.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.01092, allocations: 11.98 kB / 332.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.01105, allocations: 82.66 kB / 332.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.01105, allocations: 4.188 kB / 332.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01105, allocations: 8 kB / 332.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.01105, allocations: 0 / 332.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.01116, allocations: 105.7 kB / 332.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.01117, allocations: 4.078 kB / 332.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.79e-05/0.01119, allocations: 7.984 kB / 332.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01119, allocations: 3.984 kB / 332.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.0112, allocations: 4 kB / 332.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.0112, allocations: 0 / 332.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.0112, allocations: 0 / 332.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.617e-05/0.01129, allocations: 147.5 kB / 332.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.0113, allocations: 15.84 kB / 333 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.01131, allocations: 4 kB / 333 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.01135, allocations: 4 kB / 333 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.0114, allocations: 7.984 kB / 333 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.0114, allocations: 4 kB / 333 MB, free: 15.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.218e-05/0.01144, allocations: 48.8 kB / 333 MB, free: 15.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01144, allocations: 0 / 333 MB, free: 15.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002719/0.01172, allocations: 115.7 kB / 333.1 MB, free: 15.37 MB / 314.7 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.0003007/0.01202, allocations: 208 kB / 333.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.01223, allocations: 138 kB / 333.5 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.01223, allocations: 0.75 kB / 333.5 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.339e-05/0.01231, allocations: 84.75 kB / 333.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.01248, allocations: 23.92 kB / 333.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006321/0.01311, allocations: 351 kB / 333.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.621e-05/0.01316, allocations: 71.98 kB / 334 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.075e-05/0.0132, allocations: 13.48 kB / 334 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.01325, allocations: 67.36 kB / 334.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01325, allocations: 0 / 334.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of Templates: time 0.009253/0.02251, allocations: 6.563 MB / 340.6 MB, free: 7.832 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2514231698587537]