Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001571/0.001571, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002036/0.002036, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2426/0.2426, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 77.31 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1059, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003921/0.1098, allocations: 2.024 MB / 482.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1116, allocations: 0.9307 MB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.1118, allocations: 7.938 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.1122, allocations: 67.62 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000401/0.1126, allocations: 115.4 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.113, allocations: 91.64 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004474/0.1134, allocations: 378.2 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.757e-05/0.1135, allocations: 48.7 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.1138, allocations: 159.2 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.1141, allocations: 179.1 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.1142, allocations: 8 kB / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.1145, allocations: 159.7 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1146, allocations: 91.53 kB / 484.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.1148, allocations: 162.9 kB / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000565/0.1154, allocations: 426.6 kB / 485 MB, free: 320 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1154, allocations: 3.938 kB / 485 MB, free: 316 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1154, allocations: 0 / 485 MB, free: 316 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.1154, allocations: 0 / 485 MB, free: 316 kB / 350.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.001102/0.1165, allocations: 0.6591 MB / 485.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.1166, allocations: 16.03 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.915e-05/0.1167, allocations: 86.64 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.009e-05/0.1168, allocations: 40.47 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.1171, allocations: 271.7 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.1172, allocations: 33.36 kB / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.1172, allocations: 40.38 kB / 486.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008306/0.1181, allocations: 0.5608 MB / 486.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1181, allocations: 0 / 486.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.1181, allocations: 11.98 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-05/0.1182, allocations: 48.97 kB / 486.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009485/0.1192, allocations: 0.5698 MB / 487.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.1212, allocations: 1.171 MB / 488.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.1222, allocations: 374.2 kB / 488.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004468/0.1227, allocations: 132.9 kB / 489 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.143e-05/0.1228, allocations: 15.97 kB / 489 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.1228, allocations: 34.56 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 3.066e-06/0.1228, allocations: 4 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001557/0.1244, allocations: 460.8 kB / 489.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.1245, allocations: 55.41 kB / 489.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007922/0.1253, allocations: 453.6 kB / 490 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.1253, allocations: 29.7 kB / 490 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.1255, allocations: 196.3 kB / 490.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.1256, allocations: 70.91 kB / 490.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.1258, allocations: 49.7 kB / 490.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.126, allocations: 354.7 kB / 490.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.1264, allocations: 115.9 kB / 490.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.1268, allocations: 122.9 kB / 490.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/0.1276, allocations: 264.6 kB / 491.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1276, allocations: 0 / 491.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001057/0.1287, allocations: 342.1 kB / 491.5 MB, free: 9.566 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.1287, allocations: 7.938 kB / 491.5 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.1288, allocations: 3.938 kB / 491.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.1288, allocations: 4 kB / 491.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.1299, allocations: 151.9 kB / 491.6 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003639/0.1335, allocations: 5.516 MB / 497.2 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.1338, allocations: 51.39 kB / 497.2 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.1339, allocations: 15.98 kB / 497.2 MB, free: 3.609 MB / 366.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.0002555/0.1341, allocations: 201.8 kB / 497.4 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-05/0.1342, allocations: 31.62 kB / 497.4 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.1354, allocations: 460 kB / 497.9 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/0.1354, allocations: 0 / 497.9 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1354, allocations: 0 / 497.9 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1355, allocations: 0 / 497.9 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000759/0.1362, allocations: 381.2 kB / 498.3 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1363, allocations: 0 / 498.3 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.1374, allocations: 163.8 kB / 498.4 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.1374, allocations: 0 / 498.4 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.1375, allocations: 8 kB / 498.4 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004211/0.1417, allocations: 5.509 MB / 0.4921 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1417, allocations: 3.938 kB / 0.4921 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.1428, allocations: 446.7 kB / 0.4926 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.143, allocations: 116.6 kB / 0.4927 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.595e-05/0.1431, allocations: 20.08 kB / 0.4927 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.1434, allocations: 8 kB / 0.4927 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.1435, allocations: 23.91 kB / 0.4927 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.1435, allocations: 8 kB / 0.4927 GB, free: 11.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004044/0.1439, allocations: 343.1 kB / 0.4931 GB, free: 11.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1439, allocations: 0 / 0.4931 GB, free: 11.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003974/0.1443, allocations: 99.94 kB / 0.4932 GB, free: 11.53 MB / 382.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.00113/0.1455, allocations: 1.012 MB / 0.4941 GB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.1467, allocations: 443.5 kB / 0.4946 GB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1467, allocations: 0 / 0.4946 GB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000806/0.1476, allocations: 279.7 kB / 0.4948 GB, free: 9.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.1481, allocations: 89.38 kB / 0.4949 GB, free: 9.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.1538, allocations: 4.44 MB / 0.4993 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.1543, allocations: 0.8465 MB / 0.5001 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002452/0.1545, allocations: 87.2 kB / 0.5002 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.1547, allocations: 111.4 kB / 0.5003 GB, free: 4.113 MB / 382.1 MB Notification: Performance of SimCode: time 5.52e-07/0.1547, allocations: 0 / 0.5003 GB, free: 4.113 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2121/0.3668, allocations: 11.34 MB / 0.5113 GB, free: 43.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.01, allocations: 8.766 kB / 0.5113 GB, free: 43.15 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches