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.000997/0.0009971, allocations: 95.33 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 203.2 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 227.7 MB / 246.8 MB, free: 9.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1674/0.1674, allocations: 46.18 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002098/0.0002098, allocations: 4 kB / 419.6 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08544/0.08566, allocations: 63.56 MB / 483.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.001804/0.0875, allocations: 1.743 MB / 484.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.08865, allocations: 0.9153 MB / 485.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.08871, allocations: 0 / 485.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.08893, allocations: 55.72 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.0892, allocations: 119.5 kB / 486 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.08939, allocations: 71.75 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004177/0.08982, allocations: 0.5097 MB / 486.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.189e-05/0.08989, allocations: 52.62 kB / 486.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.09007, allocations: 139.2 kB / 486.8 MB, free: 408 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.09028, allocations: 191.1 kB / 487 MB, free: 216 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.09031, allocations: 8 kB / 487 MB, free: 208 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.09054, allocations: 155.8 kB / 487.1 MB, free: 52 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.78e-05/0.09065, allocations: 95.61 kB / 487.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.09079, allocations: 180.6 kB / 487.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.09118, allocations: 418.5 kB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.09119, allocations: 4 kB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.0912, allocations: 0 / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.09121, allocations: 0 / 487.8 MB, free: 15.36 MB / 366.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.0007583/0.09197, allocations: 0.5929 MB / 488.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.09201, allocations: 8.031 kB / 488.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.658e-05/0.09209, allocations: 86.69 kB / 488.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.09215, allocations: 44.38 kB / 488.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.09241, allocations: 275.7 kB / 488.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.09244, allocations: 29.36 kB / 488.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/0.09249, allocations: 36.38 kB / 488.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007343/0.09323, allocations: 0.5609 MB / 489.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.09325, allocations: 0 / 489.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.0933, allocations: 19.98 kB / 489.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/0.09335, allocations: 40.97 kB / 489.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008142/0.09417, allocations: 0.5854 MB / 490.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.0956, allocations: 1.175 MB / 491.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005609/0.09618, allocations: 378.3 kB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.09642, allocations: 148.8 kB / 491.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.09646, allocations: 7.984 kB / 491.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.09649, allocations: 38.56 kB / 491.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.182e-06/0.0965, allocations: 0 / 491.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008514/0.09735, allocations: 484 kB / 492.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.0974, allocations: 59.34 kB / 492.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.09781, allocations: 449.6 kB / 492.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.09784, allocations: 25.7 kB / 492.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.09794, allocations: 196.3 kB / 493 MB, free: 9.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/0.09801, allocations: 66.92 kB / 493.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.09806, allocations: 29.7 kB / 493.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.09818, allocations: 358.7 kB / 493.5 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.09841, allocations: 119.8 kB / 493.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.09863, allocations: 119.9 kB / 493.7 MB, free: 9.262 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.09911, allocations: 284.2 kB / 494 MB, free: 8.984 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.09912, allocations: 0 / 494 MB, free: 8.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000564/0.09969, allocations: 345 kB / 494.3 MB, free: 8.641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.09972, allocations: 8 kB / 494.3 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.09973, allocations: 7.875 kB / 494.3 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.09974, allocations: 4 kB / 494.3 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006347/0.1004, allocations: 155.9 kB / 494.5 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/0.1029, allocations: 5.524 MB / 0.4883 GB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.1031, allocations: 51.41 kB / 0.4883 GB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.1031, allocations: 15.98 kB / 0.4884 GB, free: 2.668 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.0001677/0.1033, allocations: 193.8 kB / 0.4885 GB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.1033, allocations: 35.62 kB / 0.4886 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007748/0.1041, allocations: 460.4 kB / 0.489 GB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1041, allocations: 4 kB / 0.489 GB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1041, allocations: 4 kB / 0.489 GB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1041, allocations: 0 / 0.489 GB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.1045, allocations: 385.2 kB / 0.4894 GB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1045, allocations: 4 kB / 0.4894 GB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006037/0.1051, allocations: 151.9 kB / 0.4895 GB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1052, allocations: 0 / 0.4895 GB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.1052, allocations: 15.98 kB / 0.4895 GB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/0.1076, allocations: 5.512 MB / 0.4949 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1076, allocations: 3.969 kB / 0.4949 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000601/0.1082, allocations: 462.6 kB / 0.4954 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-05/0.1083, allocations: 124.5 kB / 0.4955 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.1084, allocations: 4 kB / 0.4955 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.1086, allocations: 15.98 kB / 0.4955 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.1087, allocations: 23.92 kB / 0.4955 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.1087, allocations: 11.98 kB / 0.4955 GB, free: 10.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003136/0.109, allocations: 335.1 kB / 0.4959 GB, free: 10.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.109, allocations: 0 / 0.4959 GB, free: 10.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003179/0.1093, allocations: 99.94 kB / 0.496 GB, free: 10.56 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.0009313/0.1103, allocations: 1.02 MB / 0.497 GB, free: 9.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.1113, allocations: 419.5 kB / 0.4974 GB, free: 9.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1113, allocations: 0 / 0.4974 GB, free: 9.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007483/0.112, allocations: 280.9 kB / 0.4976 GB, free: 8.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.1125, allocations: 97.34 kB / 0.4977 GB, free: 8.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004875/0.1174, allocations: 4.57 MB / 0.5022 GB, free: 4.086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.1177, allocations: 0.8542 MB / 0.503 GB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.1179, allocations: 87.22 kB / 0.5031 GB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.1181, allocations: 111.4 kB / 0.5032 GB, free: 3.016 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1181, allocations: 0 / 0.5032 GB, free: 3.016 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.627/1.745, allocations: 10.67 MB / 0.5136 GB, free: 39.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/1.745, allocations: 287.6 kB / 0.5139 GB, free: 39.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/3.983, allocations: 0 / 0.5139 GB, free: 39.53 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