Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_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.001123/0.001123, allocations: 179.6 kB / 16.72 MB, free: 5.07 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.215/1.215, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0006672/0.0006672, allocations: 90.3 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.2783/0.2783, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003632, allocations: 15.98 kB / 432.1 MB, free: 5.703 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09283/0.09321, allocations: 58.85 MB / 491 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.001894/0.09515, allocations: 1.684 MB / 492.6 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.0963, allocations: 0.8583 MB / 493.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.737e-05/0.09638, allocations: 4 kB / 493.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.09659, allocations: 47.72 kB / 493.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.09689, allocations: 123.5 kB / 493.7 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.09708, allocations: 63.8 kB / 493.7 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003831/0.09748, allocations: 454 kB / 494.2 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.644e-05/0.09755, allocations: 48.7 kB / 494.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.09772, allocations: 143.2 kB / 494.4 MB, free: 7.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.09792, allocations: 183.2 kB / 494.5 MB, free: 7.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.09796, allocations: 11.98 kB / 494.5 MB, free: 7.148 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.0982, allocations: 143.7 kB / 494.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.636e-05/0.0983, allocations: 91.59 kB / 494.8 MB, free: 6.918 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.09844, allocations: 176.7 kB / 495 MB, free: 6.738 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.09876, allocations: 311.4 kB / 495.3 MB, free: 6.434 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.09877, allocations: 0 / 495.3 MB, free: 6.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09878, allocations: 0 / 495.3 MB, free: 6.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.09879, allocations: 0 / 495.3 MB, free: 6.434 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0007927/0.09959, allocations: 0.5889 MB / 495.8 MB, free: 5.793 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.09963, allocations: 12.03 kB / 495.9 MB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.529e-05/0.09972, allocations: 82.7 kB / 495.9 MB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.09979, allocations: 40.47 kB / 496 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.1001, allocations: 283.6 kB / 496.3 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.1001, allocations: 21.38 kB / 496.3 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.1002, allocations: 40.36 kB / 496.3 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007529/0.1009, allocations: 0.5609 MB / 496.9 MB, free: 4.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1009, allocations: 4 kB / 496.9 MB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.101, allocations: 15.94 kB / 496.9 MB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.696e-05/0.101, allocations: 40.97 kB / 496.9 MB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008344/0.1019, allocations: 0.5776 MB / 497.5 MB, free: 4.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.1034, allocations: 1.175 MB / 498.7 MB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.104, allocations: 386.1 kB / 499.1 MB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.1043, allocations: 144.9 kB / 499.2 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.1043, allocations: 3.984 kB / 499.2 MB, free: 2.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.1044, allocations: 38.56 kB / 499.2 MB, free: 2.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 2.244e-06/0.1044, allocations: 0 / 499.2 MB, free: 2.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008754/0.1052, allocations: 472.9 kB / 499.7 MB, free: 1.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.1053, allocations: 59.5 kB / 499.8 MB, free: 1.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/0.1057, allocations: 449.5 kB / 0.4885 GB, free: 1.273 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1057, allocations: 29.7 kB / 0.4885 GB, free: 1.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.1058, allocations: 204.2 kB / 0.4887 GB, free: 1.035 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.518e-05/0.1059, allocations: 67 kB / 0.4888 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.1059, allocations: 4 kB / 0.4888 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.106, allocations: 354.7 kB / 0.4891 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.1063, allocations: 123.9 kB / 0.4892 GB, free: 500 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.1065, allocations: 120.6 kB / 0.4893 GB, free: 380 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004911/0.107, allocations: 280.9 kB / 0.4896 GB, free: 96 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.107, allocations: 0 / 0.4896 GB, free: 96 kB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.1607/0.2678, allocations: 345 kB / 0.4899 GB, free: 43.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.2678, allocations: 5.469 kB / 0.4899 GB, free: 43.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2678, allocations: 0 / 0.4899 GB, free: 43.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.2679, allocations: 9.75 kB / 0.49 GB, free: 43.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007328/0.2686, allocations: 151.9 kB / 0.4901 GB, free: 43.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.2704, allocations: 5.531 MB / 0.4955 GB, free: 37.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.2707, allocations: 52.2 kB / 0.4956 GB, free: 37.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.2707, allocations: 9.75 kB / 0.4956 GB, free: 37.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001943/0.2709, allocations: 186.9 kB / 0.4957 GB, free: 37.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.271, allocations: 40.81 kB / 0.4958 GB, free: 37.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008573/0.2718, allocations: 462.2 kB / 0.4962 GB, free: 37.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2718, allocations: 6.75 kB / 0.4962 GB, free: 37.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2719, allocations: 0.75 kB / 0.4962 GB, free: 37.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2719, allocations: 2.422 kB / 0.4962 GB, free: 37.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004161/0.2723, allocations: 371.4 kB / 0.4966 GB, free: 37.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2723, allocations: 0.7656 kB / 0.4966 GB, free: 37.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006455/0.2729, allocations: 157 kB / 0.4967 GB, free: 37.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.273, allocations: 6.031 kB / 0.4967 GB, free: 37.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.273, allocations: 12.34 kB / 0.4967 GB, free: 37.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.2747, allocations: 5.519 MB / 0.5021 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2747, allocations: 2.531 kB / 0.5021 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.2754, allocations: 456 kB / 0.5026 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.212e-05/0.2755, allocations: 128.4 kB / 0.5027 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/0.2755, allocations: 3.5 kB / 0.5027 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.2757, allocations: 13.91 kB / 0.5027 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-05/0.2758, allocations: 20.22 kB / 0.5027 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.2758, allocations: 15.86 kB / 0.5028 GB, free: 31.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003969/0.2762, allocations: 334.6 kB / 0.5031 GB, free: 31.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2763, allocations: 0 / 0.5031 GB, free: 31.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00039/0.2767, allocations: 103.9 kB / 0.5032 GB, free: 31.9 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {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.0009506/0.2776, allocations: 1.022 MB / 0.5042 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.2788, allocations: 409.7 kB / 0.5046 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2788, allocations: 4 kB / 0.5046 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000777/0.2796, allocations: 285.9 kB / 0.5048 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.28, allocations: 84.41 kB / 0.5049 GB, free: 31.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.2833, allocations: 2.7 MB / 0.5076 GB, free: 30.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.2835, allocations: 0.8473 MB / 0.5084 GB, free: 29.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.2836, allocations: 115.6 kB / 0.5085 GB, free: 29.75 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2837, allocations: 0 / 0.5085 GB, free: 29.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.875/5.158, allocations: 20.06 MB / 0.5281 GB, free: 26.14 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches