Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 116.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 204 kB / 19.41 MB, free: 3.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 46.12 MB / 345 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 83.84 kB / 482.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2833, allocations: 62.43 MB / 0.5318 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003273/0.2865, allocations: 2.135 MB / 0.5338 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.2885, allocations: 1.422 MB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.2886, allocations: 1.156 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.2889, allocations: 83.31 kB / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.2891, allocations: 76.31 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.2896, allocations: 208.3 kB / 0.5356 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.2898, allocations: 154.3 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.2898, allocations: 9.812 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.29, allocations: 67.09 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.259e-05/0.2901, allocations: 61.59 kB / 0.5359 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.2901, allocations: 8.062 kB / 0.5359 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006131/0.2907, allocations: 436.2 kB / 0.5363 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.2908, allocations: 25.17 kB / 0.5363 GB, free: 10 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.884e-05/0.2908, allocations: 62.36 kB / 0.5364 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005772/0.2914, allocations: 448.2 kB / 0.5368 GB, free: 9.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2914, allocations: 1.25 kB / 0.5368 GB, free: 9.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2914, allocations: 0 / 0.5368 GB, free: 9.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2914, allocations: 0 / 0.5368 GB, free: 9.652 MB / 398.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.0006817/0.2921, allocations: 0.5004 MB / 0.5373 GB, free: 9.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.2921, allocations: 10.61 kB / 0.5373 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.2922, allocations: 23.48 kB / 0.5373 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.2924, allocations: 214.1 kB / 0.5375 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.2924, allocations: 15.97 kB / 0.5375 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.2925, allocations: 19.19 kB / 0.5375 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.2928, allocations: 200.8 kB / 0.5377 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2929, allocations: 3.938 kB / 0.5377 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.2929, allocations: 8.922 kB / 0.5378 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2929, allocations: 8.938 kB / 0.5378 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.2932, allocations: 154.9 kB / 0.5379 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008967/0.2941, allocations: 0.5692 MB / 0.5385 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.2943, allocations: 58.27 kB / 0.5385 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.2944, allocations: 31.23 kB / 0.5386 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.2945, allocations: 1.062 kB / 0.5386 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.2945, allocations: 39.64 kB / 0.5386 GB, free: 8.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.753e-06/0.2945, allocations: 5.469 kB / 0.5386 GB, free: 8.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004894/0.295, allocations: 126.9 kB / 0.5387 GB, free: 8.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.295, allocations: 56.84 kB / 0.5388 GB, free: 7.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.2953, allocations: 266 kB / 0.539 GB, free: 7.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.2953, allocations: 29.7 kB / 0.5391 GB, free: 7.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.2955, allocations: 164.2 kB / 0.5392 GB, free: 7.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.2955, allocations: 18.58 kB / 0.5392 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.877e-05/0.2955, allocations: 46.06 kB / 0.5393 GB, free: 7.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2957, allocations: 335.3 kB / 0.5396 GB, free: 7.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.2958, allocations: 37.5 kB / 0.5396 GB, free: 7.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.296, allocations: 129.2 kB / 0.5397 GB, free: 7.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.2964, allocations: 185.9 kB / 0.5399 GB, free: 6.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2964, allocations: 5.062 kB / 0.5399 GB, free: 6.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004237/0.2968, allocations: 199 kB / 0.5401 GB, free: 6.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2968, allocations: 9.688 kB / 0.5401 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/0.2969, allocations: 15.25 kB / 0.5401 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2969, allocations: 9.031 kB / 0.5402 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.297, allocations: 38.69 kB / 0.5402 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.297, allocations: 4.5 kB / 0.5402 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.2972, allocations: 31.8 kB / 0.5402 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.2972, allocations: 9.688 kB / 0.5402 GB, free: 6.707 MB / 398.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.0001331/0.2973, allocations: 133.4 kB / 0.5404 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.2974, allocations: 21.48 kB / 0.5404 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.2977, allocations: 139.3 kB / 0.5405 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2977, allocations: 1.406 kB / 0.5405 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2977, allocations: 0 / 0.5405 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2978, allocations: 1.406 kB / 0.5405 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.298, allocations: 228.7 kB / 0.5407 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/0.2981, allocations: 8.188 kB / 0.5407 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.524e-05/0.2981, allocations: 9.203 kB / 0.5408 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.2981, allocations: 0 / 0.5408 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.2981, allocations: 2.875 kB / 0.5408 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2981, allocations: 0 / 0.5408 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2981, allocations: 0 / 0.5408 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.2985, allocations: 216.6 kB / 0.541 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.2985, allocations: 93.22 kB / 0.5411 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.2986, allocations: 1.469 kB / 0.5411 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.2987, allocations: 6.766 kB / 0.5411 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.2987, allocations: 6.938 kB / 0.5411 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2987, allocations: 2.781 kB / 0.5411 GB, free: 5.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.2989, allocations: 187.6 kB / 0.5412 GB, free: 5.805 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2989, allocations: 0 / 0.5412 GB, free: 5.805 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003706/0.2993, allocations: 74.84 kB / 0.5413 GB, free: 5.789 MB / 398.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.0003117/0.2996, allocations: 180 kB / 0.5415 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004772/0.3, allocations: 164.6 kB / 0.5416 GB, free: 5.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3, allocations: 5.406 kB / 0.5417 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.3003, allocations: 97.22 kB / 0.5417 GB, free: 5.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.3006, allocations: 21.16 kB / 0.5418 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006651/0.3013, allocations: 374.7 kB / 0.5421 GB, free: 5.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.3016, allocations: 0.7287 MB / 0.5428 GB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.34e-05/0.3017, allocations: 17.23 kB / 0.5429 GB, free: 4.469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.3017, allocations: 15.19 kB / 0.5429 GB, free: 4.461 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3017, allocations: 0 / 0.5429 GB, free: 4.461 MB / 398.1 MB Notification: Performance of Templates: time 0.008504/0.3102, allocations: 4.243 MB / 0.547 GB, free: 1.551 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches