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.00115/0.00115, allocations: 105.2 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.001269/0.001269, 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.295/1.295, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 72.66 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09747/0.09929, allocations: 62.44 MB / 480.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.00324/0.1026, allocations: 2.028 MB / 482.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.104, allocations: 0.9385 MB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1042, allocations: 0 / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.1045, allocations: 59.66 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.1049, allocations: 127.4 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.1051, allocations: 87.64 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00039/0.1055, allocations: 386.2 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.942e-05/0.1056, allocations: 44.72 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.1059, allocations: 163.1 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.1061, allocations: 175.2 kB / 484.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.1062, allocations: 12 kB / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.1065, allocations: 151.7 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.1066, allocations: 95.52 kB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.1068, allocations: 154.9 kB / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004888/0.1073, allocations: 434.6 kB / 485 MB, free: 304 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1073, allocations: 4 kB / 485 MB, free: 300 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1073, allocations: 0 / 485 MB, free: 300 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.1073, allocations: 0 / 485 MB, free: 300 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.0009874/0.1083, allocations: 0.6552 MB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1084, allocations: 8.031 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.641e-05/0.1084, allocations: 86.7 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.356e-05/0.1085, allocations: 40.47 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.1088, allocations: 287.6 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.1089, allocations: 21.38 kB / 486.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.1089, allocations: 40.36 kB / 486.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008168/0.1097, allocations: 0.5531 MB / 486.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1098, allocations: 0 / 486.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.1098, allocations: 15.94 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.965e-05/0.1099, allocations: 44.97 kB / 486.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000912/0.1108, allocations: 0.5698 MB / 487.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.1124, allocations: 1.179 MB / 488.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006085/0.1131, allocations: 373.8 kB / 488.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.1133, allocations: 140.9 kB / 489 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.1134, allocations: 12 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1134, allocations: 34.56 kB / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.1134, allocations: 4 kB / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009169/0.1143, allocations: 460.8 kB / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.1144, allocations: 55.41 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.1148, allocations: 449.6 kB / 490 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1149, allocations: 33.7 kB / 490 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.115, allocations: 188.3 kB / 490.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.423e-05/0.115, allocations: 78.91 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.1152, allocations: 53.69 kB / 490.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1153, allocations: 350.7 kB / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.1156, allocations: 115.9 kB / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.1159, allocations: 126.8 kB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/0.1163, allocations: 256.6 kB / 491.1 MB, free: 9.902 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1164, allocations: 4 kB / 491.1 MB, free: 9.898 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006398/0.117, allocations: 350.1 kB / 491.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.117, allocations: 15.88 kB / 491.5 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.117, allocations: 0 / 491.5 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1171, allocations: 0 / 491.5 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/0.1178, allocations: 159.9 kB / 491.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003573/0.1214, allocations: 5.512 MB / 497.2 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.1218, allocations: 51.39 kB / 497.2 MB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.1218, allocations: 12 kB / 497.2 MB, free: 3.594 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.0002225/0.122, allocations: 197.8 kB / 497.4 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.883e-05/0.1221, allocations: 31.62 kB / 497.4 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008126/0.1229, allocations: 451.8 kB / 497.9 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.123, allocations: 7.938 kB / 497.9 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.123, allocations: 0 / 497.9 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.123, allocations: 3.984 kB / 497.9 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.1234, allocations: 381.1 kB / 498.3 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1234, allocations: 4 kB / 498.3 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006812/0.1241, allocations: 151.9 kB / 498.4 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1241, allocations: 0 / 498.4 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.1242, allocations: 11.98 kB / 498.4 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003255/0.1274, allocations: 5.512 MB / 0.4921 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.1274, allocations: 3.938 kB / 0.4921 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007066/0.1282, allocations: 446.8 kB / 0.4926 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.1283, allocations: 120.6 kB / 0.4927 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.1284, allocations: 0 / 0.4927 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.1286, allocations: 16.08 kB / 0.4927 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/0.1287, allocations: 27.91 kB / 0.4927 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.1287, allocations: 8 kB / 0.4927 GB, free: 11.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003861/0.1291, allocations: 339.1 kB / 0.4931 GB, free: 11.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1291, allocations: 0 / 0.4931 GB, free: 11.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004418/0.1296, allocations: 99.92 kB / 0.4931 GB, free: 11.52 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.001289/0.1309, allocations: 1.011 MB / 0.4941 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.1321, allocations: 447.4 kB / 0.4946 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1321, allocations: 0 / 0.4946 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007897/0.1329, allocations: 271.7 kB / 0.4948 GB, free: 9.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.1334, allocations: 93.38 kB / 0.4949 GB, free: 9.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005647/0.1391, allocations: 4.441 MB / 0.4992 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.1395, allocations: 0.8504 MB / 0.5001 GB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.1398, allocations: 79.22 kB / 0.5002 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.1399, allocations: 115.4 kB / 0.5003 GB, free: 4.105 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1399, allocations: 0 / 0.5003 GB, free: 4.105 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2043/0.3442, allocations: 11.34 MB / 0.5113 GB, free: 43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.85, allocations: 7 kB / 0.5113 GB, free: 43 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 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.mat","/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