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_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_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.0009558/0.000956, allocations: 173.7 kB / 16.72 MB, free: 5.082 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.282/1.282, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0008082/0.0008081, allocations: 91.78 kB / 271.2 MB, free: 8.25 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.293/0.293, allocations: 43.56 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003564, allocations: 8 kB / 432.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.09465, allocations: 58.86 MB / 491 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.002041/0.09672, allocations: 1.777 MB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.09787, allocations: 0.831 MB / 493.6 MB, free: 7.914 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.09795, allocations: 0 / 493.6 MB, free: 7.914 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.09817, allocations: 47.73 kB / 493.6 MB, free: 7.867 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.09851, allocations: 143.4 kB / 493.7 MB, free: 7.727 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.09873, allocations: 79.67 kB / 493.8 MB, free: 7.648 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004484/0.09919, allocations: 0.5251 MB / 494.4 MB, free: 7.121 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.563e-05/0.09927, allocations: 52.7 kB / 494.4 MB, free: 7.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.09946, allocations: 163.2 kB / 494.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.09969, allocations: 215.1 kB / 494.8 MB, free: 6.699 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.09973, allocations: 15.94 kB / 494.8 MB, free: 6.684 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.1001, allocations: 243.6 kB / 495 MB, free: 6.445 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.675e-05/0.1002, allocations: 107.6 kB / 495.1 MB, free: 6.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.1003, allocations: 192.6 kB / 495.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.1007, allocations: 367.1 kB / 495.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1007, allocations: 4 kB / 495.7 MB, free: 5.781 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1007, allocations: 4 kB / 495.7 MB, free: 5.777 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1007, allocations: 0 / 495.7 MB, free: 5.777 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.0008818/0.1016, allocations: 0.6357 MB / 496.3 MB, free: 5.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1016, allocations: 8.031 kB / 496.3 MB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.19e-05/0.1017, allocations: 94.69 kB / 496.4 MB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.1018, allocations: 52.36 kB / 496.5 MB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.1021, allocations: 295.5 kB / 496.8 MB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.1022, allocations: 41.36 kB / 496.8 MB, free: 4.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.1022, allocations: 43.94 kB / 496.8 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009042/0.1031, allocations: 0.6601 MB / 497.5 MB, free: 3.852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1032, allocations: 0 / 497.5 MB, free: 3.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.1032, allocations: 19.94 kB / 497.5 MB, free: 3.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.367e-05/0.1033, allocations: 53.27 kB / 497.6 MB, free: 3.777 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.1043, allocations: 0.7038 MB / 498.3 MB, free: 3.074 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.1061, allocations: 1.348 MB / 499.6 MB, free: 1.676 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007241/0.1068, allocations: 456.5 kB / 0.4884 GB, free: 1.223 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.1071, allocations: 157.2 kB / 0.4885 GB, free: 1.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.145e-05/0.1071, allocations: 12.44 kB / 0.4885 GB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1072, allocations: 34.56 kB / 0.4885 GB, free: 1.012 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.016e-06/0.1072, allocations: 0 / 0.4885 GB, free: 1.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001011/0.1082, allocations: 0.5496 MB / 0.4891 GB, free: 468 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.1082, allocations: 55.41 kB / 0.4891 GB, free: 400 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1761/0.2843, allocations: 488.6 kB / 0.4896 GB, free: 43.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/0.2845, allocations: 35.11 kB / 0.4896 GB, free: 43.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.2846, allocations: 216.3 kB / 0.4898 GB, free: 43.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.2847, allocations: 98.28 kB / 0.4899 GB, free: 43.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.2848, allocations: 9.406 kB / 0.4899 GB, free: 43.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2849, allocations: 357.3 kB / 0.4903 GB, free: 42.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/0.2853, allocations: 155.9 kB / 0.4904 GB, free: 42.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.2856, allocations: 258 kB / 0.4907 GB, free: 42.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008006/0.2864, allocations: 444.8 kB / 0.4911 GB, free: 42.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.2865, allocations: 1.094 kB / 0.4911 GB, free: 42.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009144/0.2874, allocations: 0.4914 MB / 0.4916 GB, free: 42.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.2874, allocations: 5.438 kB / 0.4916 GB, free: 42.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.2874, allocations: 3.562 kB / 0.4916 GB, free: 42.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.2875, allocations: 5.438 kB / 0.4916 GB, free: 42.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009271/0.2884, allocations: 213.4 kB / 0.4918 GB, free: 42.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.291, allocations: 7.298 MB / 0.4989 GB, free: 35.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.2913, allocations: 65.72 kB / 0.499 GB, free: 35.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.2913, allocations: 18.81 kB / 0.499 GB, free: 35.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (40): * Single equations (assignments): 28 * 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.0003222/0.2917, allocations: 223.5 kB / 0.4992 GB, free: 35.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.2917, allocations: 42.66 kB / 0.4993 GB, free: 35.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.2929, allocations: 0.5466 MB / 0.4998 GB, free: 35.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.2929, allocations: 6.188 kB / 0.4998 GB, free: 35.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.293, allocations: 5.25 kB / 0.4998 GB, free: 35.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.293, allocations: 1.172 kB / 0.4998 GB, free: 35.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.2935, allocations: 418.5 kB / 0.5002 GB, free: 35.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2935, allocations: 1.094 kB / 0.5002 GB, free: 35.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008053/0.2943, allocations: 195.7 kB / 0.5004 GB, free: 35.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.2944, allocations: 6.031 kB / 0.5004 GB, free: 35.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.2944, allocations: 12.28 kB / 0.5004 GB, free: 35.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.2966, allocations: 7.3 MB / 0.5075 GB, free: 27.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.2966, allocations: 0 / 0.5075 GB, free: 27.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000751/0.2973, allocations: 0.5071 MB / 0.508 GB, free: 27.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.058e-05/0.2974, allocations: 124.2 kB / 0.5082 GB, free: 27.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.2975, allocations: 9.797 kB / 0.5082 GB, free: 27.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.2977, allocations: 13.03 kB / 0.5082 GB, free: 27.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.865e-05/0.2978, allocations: 31.2 kB / 0.5082 GB, free: 27.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.2979, allocations: 17.53 kB / 0.5082 GB, free: 27.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003681/0.2982, allocations: 352 kB / 0.5086 GB, free: 27.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2983, allocations: 0 / 0.5086 GB, free: 27.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004673/0.2987, allocations: 127.8 kB / 0.5087 GB, free: 27.59 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.0009669/0.2997, allocations: 1.088 MB / 0.5097 GB, free: 26.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.301, allocations: 0.5399 MB / 0.5103 GB, free: 26.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.301, allocations: 0 / 0.5103 GB, free: 26.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008544/0.3019, allocations: 346.8 kB / 0.5106 GB, free: 26.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.3024, allocations: 102.8 kB / 0.5107 GB, free: 26.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/0.3057, allocations: 3.047 MB / 0.5137 GB, free: 25.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.306, allocations: 0.8694 MB / 0.5145 GB, free: 25.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.3062, allocations: 137.8 kB / 0.5147 GB, free: 25.25 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3062, allocations: 2.906 kB / 0.5147 GB, free: 25.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.736/6.043, allocations: 28.2 MB / 0.5422 GB, free: 16.82 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches