Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 100.5 kB / 16.4 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001324, allocations: 192.1 kB / 17.34 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2118/0.2118, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 75.89 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.11, allocations: 57.78 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003064/0.1131, allocations: 2.013 MB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1146, allocations: 0.9433 MB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1147, allocations: 0 / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.115, allocations: 71.59 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.1154, allocations: 119.4 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.1156, allocations: 83.67 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.116, allocations: 390.1 kB / 0.4909 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.046e-05/0.1161, allocations: 52.69 kB / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.1164, allocations: 147.2 kB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.1166, allocations: 183.1 kB / 0.4913 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.1167, allocations: 8 kB / 0.4913 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.117, allocations: 155.7 kB / 0.4915 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.1171, allocations: 91.53 kB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.1172, allocations: 162.9 kB / 0.4917 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.1177, allocations: 430.4 kB / 0.4921 GB, free: 7.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1177, allocations: 0 / 0.4921 GB, free: 7.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1177, allocations: 0 / 0.4921 GB, free: 7.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1178, allocations: 0 / 0.4921 GB, free: 7.43 MB / 382.1 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.001004/0.1188, allocations: 0.6585 MB / 0.4928 GB, free: 6.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1188, allocations: 12.03 kB / 0.4928 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.254e-05/0.1189, allocations: 78.72 kB / 0.4929 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.119, allocations: 44.47 kB / 0.4929 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.1193, allocations: 283.5 kB / 0.4932 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.1193, allocations: 29.38 kB / 0.4932 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.1194, allocations: 36.38 kB / 0.4932 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007826/0.1202, allocations: 0.5647 MB / 0.4938 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1202, allocations: 0 / 0.4938 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.1202, allocations: 12 kB / 0.4938 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-05/0.1203, allocations: 36.98 kB / 0.4938 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009304/0.1212, allocations: 0.5815 MB / 0.4944 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.1229, allocations: 1.175 MB / 0.4955 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/0.1235, allocations: 378.2 kB / 0.4959 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.1238, allocations: 136.9 kB / 0.496 GB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.1238, allocations: 15.97 kB / 0.496 GB, free: 3.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1239, allocations: 34.5 kB / 0.4961 GB, free: 3.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.402e-06/0.1239, allocations: 0 / 0.4961 GB, free: 3.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009115/0.1248, allocations: 461.5 kB / 0.4965 GB, free: 2.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.1248, allocations: 51.41 kB / 0.4966 GB, free: 2.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/0.1253, allocations: 461.6 kB / 0.497 GB, free: 2.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.1253, allocations: 29.7 kB / 0.497 GB, free: 2.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1255, allocations: 188.4 kB / 0.4972 GB, free: 2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.421e-05/0.1255, allocations: 74.84 kB / 0.4973 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.555e-05/0.1256, allocations: 49.7 kB / 0.4973 GB, free: 1.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1258, allocations: 354.7 kB / 0.4977 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.126, allocations: 111.9 kB / 0.4978 GB, free: 1.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.1263, allocations: 128 kB / 0.4979 GB, free: 1.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/0.1268, allocations: 260.6 kB / 0.4982 GB, free: 1.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1268, allocations: 0 / 0.4982 GB, free: 1.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005958/0.1274, allocations: 352.8 kB / 0.4985 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1274, allocations: 7.938 kB / 0.4985 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1274, allocations: 0 / 0.4985 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1274, allocations: 4 kB / 0.4985 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007388/0.1282, allocations: 151.9 kB / 0.4986 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002944/0.1311, allocations: 5.516 MB / 0.504 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.1314, allocations: 47.92 kB / 0.5041 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.1314, allocations: 12 kB / 0.5041 GB, free: 10.73 MB / 398.1 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 (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002215/0.1316, allocations: 193.6 kB / 0.5043 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/0.1317, allocations: 35.53 kB / 0.5043 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000829/0.1326, allocations: 457 kB / 0.5047 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1326, allocations: 4 kB / 0.5047 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1326, allocations: 4 kB / 0.5048 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1326, allocations: 0 / 0.5048 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.1331, allocations: 381.2 kB / 0.5051 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1331, allocations: 0 / 0.5051 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006781/0.1338, allocations: 159.8 kB / 0.5053 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.625e-05/0.1338, allocations: 4 kB / 0.5053 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.1338, allocations: 8 kB / 0.5053 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002918/0.1368, allocations: 5.52 MB / 0.5107 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.1368, allocations: 3.938 kB / 0.5107 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.1374, allocations: 450.9 kB / 0.5111 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.1376, allocations: 112.7 kB / 0.5112 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.165e-05/0.1376, allocations: 8 kB / 0.5112 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.1379, allocations: 15.98 kB / 0.5112 GB, free: 3.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.1379, allocations: 23.91 kB / 0.5113 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.138, allocations: 8 kB / 0.5113 GB, free: 3.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003693/0.1383, allocations: 343.1 kB / 0.5116 GB, free: 2.734 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1384, allocations: 0 / 0.5116 GB, free: 2.734 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004695/0.1388, allocations: 99.84 kB / 0.5117 GB, free: 2.637 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00118/0.14, allocations: 1.009 MB / 0.5127 GB, free: 1.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.1412, allocations: 404.1 kB / 0.5131 GB, free: 1.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1412, allocations: 4 kB / 0.5131 GB, free: 1.199 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007639/0.142, allocations: 280 kB / 0.5133 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.1425, allocations: 89.42 kB / 0.5134 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005694/0.1482, allocations: 4.35 MB / 0.5177 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.1487, allocations: 0.8542 MB / 0.5185 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002172/0.1489, allocations: 87.2 kB / 0.5186 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.1491, allocations: 107.4 kB / 0.5187 GB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1491, allocations: 0 / 0.5187 GB, free: 11.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2397/0.3888, allocations: 11.78 MB / 0.5302 GB, free: 41.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.89, allocations: 6.531 kB / 0.5302 GB, free: 41.11 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches