Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 175.1 kB / 16.72 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007166/0.0007166, allocations: 90.34 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2882/0.2882, allocations: 43.57 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003098, allocations: 16 kB / 432.1 MB, free: 5.699 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09824/0.09857, allocations: 58.86 MB / 491 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.002028/0.1006, allocations: 1.82 MB / 492.8 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.1029, allocations: 1.649 MB / 494.4 MB, free: 7.266 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.218e-05/0.103, allocations: 4 kB / 494.4 MB, free: 7.262 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.1032, allocations: 55.66 kB / 494.5 MB, free: 7.207 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.1036, allocations: 143.3 kB / 494.6 MB, free: 7.066 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006416/0.1043, allocations: 279.1 kB / 494.9 MB, free: 6.793 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005164/0.1048, allocations: 0.556 MB / 495.5 MB, free: 6.234 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.1049, allocations: 65.05 kB / 495.5 MB, free: 6.164 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.1051, allocations: 171.2 kB / 495.7 MB, free: 5.996 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.1054, allocations: 226.9 kB / 495.9 MB, free: 5.773 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.1054, allocations: 12 kB / 495.9 MB, free: 5.762 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007847/0.1062, allocations: 0.5576 MB / 496.5 MB, free: 5.203 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1063, allocations: 111.5 kB / 496.6 MB, free: 5.094 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.1065, allocations: 204.5 kB / 496.8 MB, free: 4.887 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005368/0.1071, allocations: 0.5144 MB / 497.3 MB, free: 4.371 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1071, allocations: 4 kB / 497.3 MB, free: 4.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1071, allocations: 4 kB / 497.3 MB, free: 4.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1071, allocations: 0 / 497.3 MB, free: 4.363 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.001021/0.1081, allocations: 0.7137 MB / 498 MB, free: 3.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1082, allocations: 8.031 kB / 498 MB, free: 3.594 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.1083, allocations: 106.7 kB / 498.1 MB, free: 3.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.735e-05/0.1084, allocations: 60.27 kB / 498.2 MB, free: 3.422 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.1087, allocations: 311.4 kB / 498.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.1088, allocations: 41.67 kB / 498.5 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.1088, allocations: 59.92 kB / 498.6 MB, free: 2.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.1099, allocations: 0.7637 MB / 499.4 MB, free: 2.211 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1099, allocations: 0 / 499.4 MB, free: 2.211 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.11, allocations: 19.94 kB / 499.4 MB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.764e-05/0.11, allocations: 57.28 kB / 499.4 MB, free: 2.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.1112, allocations: 0.8053 MB / 0.4885 GB, free: 1.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1891/0.3003, allocations: 1.504 MB / 0.49 GB, free: 42.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008861/0.3012, allocations: 455.2 kB / 0.4904 GB, free: 42.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.3015, allocations: 161.6 kB / 0.4906 GB, free: 42.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/0.3016, allocations: 10.92 kB / 0.4906 GB, free: 42.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.3016, allocations: 39.22 kB / 0.4906 GB, free: 42.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.795e-06/0.3016, allocations: 0 / 0.4906 GB, free: 42.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001087/0.3027, allocations: 0.5607 MB / 0.4912 GB, free: 42.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.3027, allocations: 58.41 kB / 0.4912 GB, free: 42.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006758/0.3034, allocations: 0.5797 MB / 0.4918 GB, free: 42.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.3035, allocations: 30.33 kB / 0.4918 GB, free: 42.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.3036, allocations: 275.7 kB / 0.4921 GB, free: 42.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.3037, allocations: 99 kB / 0.4922 GB, free: 42.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.3037, allocations: 8.406 kB / 0.4922 GB, free: 42.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.3038, allocations: 362.2 kB / 0.4925 GB, free: 42.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/0.3042, allocations: 195 kB / 0.4927 GB, free: 42.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004692/0.3047, allocations: 434.3 kB / 0.4931 GB, free: 41.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000886/0.3056, allocations: 0.6713 MB / 0.4938 GB, free: 41.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.3056, allocations: 1.406 kB / 0.4938 GB, free: 41.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00107/0.3067, allocations: 0.687 MB / 0.4945 GB, free: 41.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3067, allocations: 9.969 kB / 0.4945 GB, free: 41.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.3067, allocations: 9.234 kB / 0.4945 GB, free: 41.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3067, allocations: 11 kB / 0.4945 GB, free: 41.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009445/0.3077, allocations: 249.1 kB / 0.4947 GB, free: 41.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.31, allocations: 7.324 MB / 0.5019 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.3104, allocations: 91.61 kB / 0.502 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.3105, allocations: 40.17 kB / 0.502 GB, free: 34.22 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.0003014/0.3108, allocations: 267.8 kB / 0.5023 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.3109, allocations: 45.44 kB / 0.5023 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.3119, allocations: 0.5596 MB / 0.5028 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3119, allocations: 7.125 kB / 0.5029 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3119, allocations: 0 / 0.5029 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3119, allocations: 1.359 kB / 0.5029 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.3124, allocations: 449.6 kB / 0.5033 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3124, allocations: 0 / 0.5033 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008157/0.3133, allocations: 206.7 kB / 0.5035 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3133, allocations: 5.484 kB / 0.5035 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.3133, allocations: 12.84 kB / 0.5035 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.3154, allocations: 7.305 MB / 0.5106 GB, free: 26.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3155, allocations: 0 / 0.5106 GB, free: 26.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006594/0.3161, allocations: 0.5263 MB / 0.5111 GB, free: 26.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.3162, allocations: 125.1 kB / 0.5113 GB, free: 26.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.3163, allocations: 10.09 kB / 0.5113 GB, free: 26.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.3165, allocations: 16.64 kB / 0.5113 GB, free: 26.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3166, allocations: 28.56 kB / 0.5113 GB, free: 26.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.3167, allocations: 15.47 kB / 0.5113 GB, free: 26.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003797/0.3171, allocations: 408.1 kB / 0.5117 GB, free: 26.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3171, allocations: 0 / 0.5117 GB, free: 26.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005898/0.3177, allocations: 174 kB / 0.5119 GB, free: 26.33 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.00112/0.3188, allocations: 1.158 MB / 0.513 GB, free: 25.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.3202, allocations: 0.6285 MB / 0.5136 GB, free: 25.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3202, allocations: 3.828 kB / 0.5136 GB, free: 25.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009026/0.3211, allocations: 358.5 kB / 0.514 GB, free: 25.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.3216, allocations: 112.7 kB / 0.5141 GB, free: 25.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/0.326, allocations: 3.512 MB / 0.5175 GB, free: 24.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.3263, allocations: 0.9033 MB / 0.5184 GB, free: 23.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.3265, allocations: 152.4 kB / 0.5185 GB, free: 23.47 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3265, allocations: 3.938 kB / 0.5185 GB, free: 23.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.741/6.068, allocations: 33.47 MB / 0.5512 GB, free: 11.61 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall_KC/kc_overall_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches