Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009704/0.0009705, allocations: 199.8 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.21/1.21, allocations: 226.5 MB / 243.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007145/0.0007142, allocations: 103.4 kB / 295.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2833/0.2833, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000234/0.000234, allocations: 8.219 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2832, allocations: 62.96 MB / 0.516 GB, free: 37.33 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.001749/0.285, allocations: 1.829 MB / 0.5178 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.2868, allocations: 1.688 MB / 0.5194 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.2869, allocations: 0 / 0.5194 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.2871, allocations: 50.72 kB / 0.5195 GB, free: 34.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.2874, allocations: 136.3 kB / 0.5196 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.2879, allocations: 288.2 kB / 0.5199 GB, free: 34.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000373/0.2883, allocations: 0.5571 MB / 0.5204 GB, free: 34.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.494e-05/0.2884, allocations: 66.41 kB / 0.5205 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.2886, allocations: 162.7 kB / 0.5206 GB, free: 34.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.2888, allocations: 232.1 kB / 0.5209 GB, free: 34.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.2888, allocations: 13.03 kB / 0.5209 GB, free: 34.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006753/0.2895, allocations: 0.5789 MB / 0.5214 GB, free: 34.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.674e-05/0.2896, allocations: 102.2 kB / 0.5215 GB, free: 33.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.2898, allocations: 216 kB / 0.5217 GB, free: 33.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004261/0.2902, allocations: 0.5181 MB / 0.5222 GB, free: 33.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2902, allocations: 0 / 0.5222 GB, free: 33.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2902, allocations: 7.469 kB / 0.5222 GB, free: 33.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.2902, allocations: 0 / 0.5222 GB, free: 33.67 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.0008396/0.2911, allocations: 0.7134 MB / 0.5229 GB, free: 33.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2911, allocations: 9.781 kB / 0.523 GB, free: 33.12 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.951e-05/0.2912, allocations: 106.2 kB / 0.5231 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.2913, allocations: 57.59 kB / 0.5231 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.2916, allocations: 315.6 kB / 0.5234 GB, free: 32.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.2916, allocations: 39.38 kB / 0.5234 GB, free: 32.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.2916, allocations: 58.61 kB / 0.5235 GB, free: 32.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008751/0.2925, allocations: 0.7555 MB / 0.5242 GB, free: 32.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.2925, allocations: 0 / 0.5242 GB, free: 32.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.2926, allocations: 18.92 kB / 0.5243 GB, free: 32.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-05/0.2927, allocations: 61.23 kB / 0.5243 GB, free: 32.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009815/0.2936, allocations: 0.8034 MB / 0.5251 GB, free: 32.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.2953, allocations: 1.512 MB / 0.5266 GB, free: 31.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006582/0.296, allocations: 464.2 kB / 0.527 GB, free: 31.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.2962, allocations: 158 kB / 0.5272 GB, free: 31.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.2963, allocations: 13.02 kB / 0.5272 GB, free: 31.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.2963, allocations: 37.2 kB / 0.5272 GB, free: 31.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.853e-06/0.2963, allocations: 0 / 0.5272 GB, free: 31.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009464/0.2973, allocations: 0.5589 MB / 0.5278 GB, free: 31.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.2973, allocations: 58.38 kB / 0.5278 GB, free: 31.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.2978, allocations: 0.5811 MB / 0.5284 GB, free: 30.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.2978, allocations: 32.73 kB / 0.5284 GB, free: 30.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.298, allocations: 272.7 kB / 0.5287 GB, free: 30.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.66e-05/0.298, allocations: 108.5 kB / 0.5288 GB, free: 30.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.298, allocations: 8 kB / 0.5288 GB, free: 30.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.2981, allocations: 360.4 kB / 0.5291 GB, free: 30.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.2984, allocations: 188.9 kB / 0.5293 GB, free: 30.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/0.2988, allocations: 443.2 kB / 0.5297 GB, free: 29.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006857/0.2995, allocations: 0.6699 MB / 0.5304 GB, free: 29.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2995, allocations: 2.812 kB / 0.5304 GB, free: 29.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009063/0.3004, allocations: 0.6876 MB / 0.5311 GB, free: 29.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3004, allocations: 8 kB / 0.5311 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3005, allocations: 8.531 kB / 0.5311 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.3005, allocations: 12.09 kB / 0.5311 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/0.3014, allocations: 246.5 kB / 0.5313 GB, free: 29.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.3035, allocations: 7.316 MB / 0.5385 GB, free: 22.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.3039, allocations: 92.92 kB / 0.5386 GB, free: 21.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.3039, allocations: 35.5 kB / 0.5386 GB, free: 21.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002622/0.3042, allocations: 268.1 kB / 0.5389 GB, free: 21.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.3043, allocations: 43.88 kB / 0.5389 GB, free: 21.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009291/0.3052, allocations: 0.5708 MB / 0.5395 GB, free: 21.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3052, allocations: 6.562 kB / 0.5395 GB, free: 21.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3052, allocations: 0 / 0.5395 GB, free: 21.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3052, allocations: 0 / 0.5395 GB, free: 21.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004284/0.3057, allocations: 438.8 kB / 0.5399 GB, free: 21.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3057, allocations: 0 / 0.5399 GB, free: 21.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007677/0.3064, allocations: 213.1 kB / 0.5401 GB, free: 21.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3065, allocations: 6.562 kB / 0.5401 GB, free: 21.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.3065, allocations: 13.14 kB / 0.5401 GB, free: 21.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.3084, allocations: 7.307 MB / 0.5472 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3084, allocations: 4 kB / 0.5472 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006314/0.3091, allocations: 0.5169 MB / 0.5477 GB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.042e-05/0.3092, allocations: 128.5 kB / 0.5479 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/0.3092, allocations: 12.94 kB / 0.5479 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.3095, allocations: 14.62 kB / 0.5479 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.3096, allocations: 26.47 kB / 0.5479 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.3096, allocations: 13.17 kB / 0.5479 GB, free: 13.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003589/0.31, allocations: 407 kB / 0.5483 GB, free: 13.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.31, allocations: 4 kB / 0.5483 GB, free: 13.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006116/0.3106, allocations: 182.5 kB / 0.5485 GB, free: 13.56 MB / 378.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/0.3118, allocations: 1.162 MB / 0.5496 GB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.3133, allocations: 0.6303 MB / 0.5502 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3133, allocations: 0 / 0.5502 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.3143, allocations: 359.8 kB / 0.5506 GB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.3149, allocations: 109.9 kB / 0.5507 GB, free: 12.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/0.3192, allocations: 3.526 MB / 0.5541 GB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.3197, allocations: 0.8929 MB / 0.555 GB, free: 26.15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.3199, allocations: 157.1 kB / 0.5552 GB, free: 26.04 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3199, allocations: 7.875 kB / 0.5552 GB, free: 26.04 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.612/5.932, allocations: 33.58 MB / 0.588 GB, free: 14.38 MB / 410.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall_KC/kc_overall_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches