Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.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.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001073/0.001073, allocations: 117.8 kB / 17.79 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 203.8 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 75.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3261, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003639/0.3298, allocations: 1.842 MB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.3325, allocations: 1.697 MB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.3326, allocations: 5.312 kB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.3329, allocations: 42.77 kB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.3332, allocations: 84 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008165/0.334, allocations: 405.1 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.3343, allocations: 243.2 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.36e-05/0.3344, allocations: 30.52 kB / 0.5348 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.3346, allocations: 109.7 kB / 0.5349 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.3347, allocations: 111.8 kB / 0.535 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.3348, allocations: 8.562 kB / 0.535 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009484/0.3357, allocations: 0.7245 MB / 0.5357 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.944e-05/0.3358, allocations: 67.41 kB / 0.5358 GB, free: 9.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.336, allocations: 109.6 kB / 0.5359 GB, free: 9.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000893/0.3369, allocations: 0.6313 MB / 0.5365 GB, free: 9.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3369, allocations: 1.156 kB / 0.5365 GB, free: 9.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3369, allocations: 0 / 0.5365 GB, free: 9.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.3369, allocations: 0 / 0.5365 GB, free: 9.07 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009543/0.3379, allocations: 0.6218 MB / 0.5371 GB, free: 8.508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.3379, allocations: 10.22 kB / 0.5371 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.444e-05/0.338, allocations: 80.98 kB / 0.5372 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.829e-05/0.3381, allocations: 32.97 kB / 0.5372 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.3384, allocations: 239.2 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.3384, allocations: 19.83 kB / 0.5375 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.3385, allocations: 28.3 kB / 0.5375 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/0.3392, allocations: 466.2 kB / 0.5379 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3392, allocations: 1.188 kB / 0.5379 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.3393, allocations: 14.2 kB / 0.5379 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.165e-05/0.3394, allocations: 46.25 kB / 0.538 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009281/0.3403, allocations: 0.5569 MB / 0.5385 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.3422, allocations: 1.3 MB / 0.5398 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.3428, allocations: 270.3 kB / 0.5401 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.343, allocations: 98.34 kB / 0.5401 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/0.343, allocations: 7.875 kB / 0.5402 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.3431, allocations: 43.91 kB / 0.5402 GB, free: 6.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.3431, allocations: 1.344 kB / 0.5402 GB, free: 6.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007912/0.3439, allocations: 329.8 kB / 0.5405 GB, free: 6.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.3439, allocations: 53.75 kB / 0.5406 GB, free: 6.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3441, allocations: 148.5 kB / 0.5407 GB, free: 5.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.3441, allocations: 31 kB / 0.5407 GB, free: 5.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3442, allocations: 191.9 kB / 0.5409 GB, free: 5.777 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.3443, allocations: 90.33 kB / 0.541 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.379e-05/0.3444, allocations: 66.14 kB / 0.5411 GB, free: 5.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3445, allocations: 323 kB / 0.5414 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.3447, allocations: 87.27 kB / 0.5415 GB, free: 5.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.3449, allocations: 181.9 kB / 0.5416 GB, free: 5.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.3454, allocations: 292.3 kB / 0.5419 GB, free: 4.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3454, allocations: 1.188 kB / 0.5419 GB, free: 4.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005721/0.346, allocations: 326.5 kB / 0.5422 GB, free: 4.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.346, allocations: 13.47 kB / 0.5422 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.346, allocations: 6.359 kB / 0.5422 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.3461, allocations: 4.406 kB / 0.5422 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.3466, allocations: 125.5 kB / 0.5424 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.3478, allocations: 2.357 MB / 0.5447 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.348, allocations: 38.3 kB / 0.5447 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.348, allocations: 21.12 kB / 0.5447 GB, free: 2.316 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.3482, allocations: 180.5 kB / 0.5449 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.3483, allocations: 14.83 kB / 0.5449 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007168/0.349, allocations: 364.2 kB / 0.5453 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.349, allocations: 2.969 kB / 0.5453 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.349, allocations: 1.25 kB / 0.5453 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.349, allocations: 7.922 kB / 0.5453 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.3494, allocations: 344 kB / 0.5456 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3494, allocations: 0 / 0.5456 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/0.3498, allocations: 112 kB / 0.5457 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3499, allocations: 1.25 kB / 0.5457 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.3499, allocations: 8.312 kB / 0.5457 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.351, allocations: 2.365 MB / 0.548 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.351, allocations: 1.125 kB / 0.548 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005066/0.3515, allocations: 370.2 kB / 0.5484 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.3515, allocations: 92.95 kB / 0.5485 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.3516, allocations: 4 kB / 0.5485 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.3517, allocations: 11.98 kB / 0.5485 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.3518, allocations: 23.97 kB / 0.5485 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.3518, allocations: 12 kB / 0.5485 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.844e-05/0.3519, allocations: 95.27 kB / 0.5486 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3519, allocations: 0 / 0.5486 GB, free: 14.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005707/0.3525, allocations: 187.4 kB / 0.5488 GB, free: 14.42 MB / 414.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/0.3536, allocations: 1.029 MB / 0.5498 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007091/0.3543, allocations: 292.3 kB / 0.5501 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3543, allocations: 4 kB / 0.5501 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004028/0.3547, allocations: 183.8 kB / 0.5502 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.3551, allocations: 12 kB / 0.5503 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.3581, allocations: 2.527 MB / 0.5527 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.3585, allocations: 0.814 MB / 0.5535 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002353/0.3587, allocations: 101.7 kB / 0.5536 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.3588, allocations: 87.41 kB / 0.5537 GB, free: 9.191 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3588, allocations: 0 / 0.5537 GB, free: 9.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.3847, allocations: 7.185 MB / 0.5607 GB, free: 2.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.72, allocations: 15.7 kB / 0.5607 GB, free: 2.215 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches