Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001102/0.001102, allocations: 187.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1953/0.1953, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3197, allocations: 60.82 MB / 0.5184 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002882/0.3226, allocations: 1.823 MB / 0.5202 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.3249, allocations: 1.639 MB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.427e-05/0.3249, allocations: 1.375 kB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.3252, allocations: 49.78 kB / 0.5219 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.3255, allocations: 75.17 kB / 0.5219 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008909/0.3264, allocations: 401.7 kB / 0.5223 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.3268, allocations: 244.2 kB / 0.5226 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.596e-05/0.3268, allocations: 26.33 kB / 0.5226 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.327, allocations: 108 kB / 0.5227 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.3272, allocations: 119.4 kB / 0.5228 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.3273, allocations: 8.125 kB / 0.5228 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.3284, allocations: 0.7025 MB / 0.5235 GB, free: 256 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3285, allocations: 66.06 kB / 0.5236 GB, free: 232 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.3287, allocations: 116.9 kB / 0.5237 GB, free: 160 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009713/0.3296, allocations: 0.6154 MB / 0.5243 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3296, allocations: 0 / 0.5243 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.3297, allocations: 2.25 kB / 0.5243 GB, free: 15.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3297, allocations: 3.938 kB / 0.5243 GB, free: 15.92 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.001082/0.3308, allocations: 0.6197 MB / 0.5249 GB, free: 15.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3308, allocations: 10.84 kB / 0.5249 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001063/0.3309, allocations: 81.23 kB / 0.525 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.331, allocations: 34.47 kB / 0.525 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.3314, allocations: 238 kB / 0.5252 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.3314, allocations: 19.47 kB / 0.5253 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.3315, allocations: 28.05 kB / 0.5253 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008365/0.3323, allocations: 474.8 kB / 0.5257 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3323, allocations: 0 / 0.5257 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.3324, allocations: 10.66 kB / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/0.3324, allocations: 43.19 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009124/0.3334, allocations: 0.5558 MB / 0.5263 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.3353, allocations: 1.298 MB / 0.5276 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.3358, allocations: 269.4 kB / 0.5278 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.336, allocations: 97.94 kB / 0.5279 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.3361, allocations: 13.53 kB / 0.528 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.3361, allocations: 39.94 kB / 0.528 GB, free: 13.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/0.3361, allocations: 0 / 0.528 GB, free: 13.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007041/0.3368, allocations: 334.4 kB / 0.5283 GB, free: 13.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.3369, allocations: 58.12 kB / 0.5284 GB, free: 13.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.337, allocations: 151.7 kB / 0.5285 GB, free: 12.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.337, allocations: 30.7 kB / 0.5285 GB, free: 12.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.3372, allocations: 191.8 kB / 0.5287 GB, free: 12.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.923e-05/0.3372, allocations: 86.12 kB / 0.5288 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3373, allocations: 67.11 kB / 0.5289 GB, free: 12.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.3375, allocations: 322.5 kB / 0.5292 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.3377, allocations: 91.47 kB / 0.5293 GB, free: 12.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.338, allocations: 177.1 kB / 0.5294 GB, free: 12.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.3384, allocations: 284.4 kB / 0.5297 GB, free: 11.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3384, allocations: 5.344 kB / 0.5297 GB, free: 11.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005568/0.339, allocations: 327.4 kB / 0.53 GB, free: 11.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.339, allocations: 10.45 kB / 0.53 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3391, allocations: 5.719 kB / 0.53 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.3391, allocations: 4.375 kB / 0.53 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.3395, allocations: 122.4 kB / 0.5302 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.3408, allocations: 2.356 MB / 0.5325 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.3411, allocations: 39.36 kB / 0.5325 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.3411, allocations: 15.66 kB / 0.5325 GB, free: 9.332 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.0002129/0.3413, allocations: 181.1 kB / 0.5327 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.3414, allocations: 14.56 kB / 0.5327 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008209/0.3422, allocations: 357.3 kB / 0.533 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.3422, allocations: 2.75 kB / 0.533 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3422, allocations: 0 / 0.533 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.3423, allocations: 9.391 kB / 0.5331 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.3427, allocations: 339.6 kB / 0.5334 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3427, allocations: 0 / 0.5334 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/0.3432, allocations: 115.4 kB / 0.5335 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.3432, allocations: 2.188 kB / 0.5335 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.3432, allocations: 7.156 kB / 0.5335 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/0.3446, allocations: 2.366 MB / 0.5358 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3446, allocations: 3.984 kB / 0.5358 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005961/0.3452, allocations: 376 kB / 0.5362 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.3452, allocations: 94.05 kB / 0.5363 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.3453, allocations: 5.469 kB / 0.5363 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.3454, allocations: 13.61 kB / 0.5363 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/0.3455, allocations: 21.12 kB / 0.5363 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.3455, allocations: 9.406 kB / 0.5363 GB, free: 5.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.611e-05/0.3456, allocations: 100.5 kB / 0.5364 GB, free: 5.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3456, allocations: 0 / 0.5364 GB, free: 5.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000631/0.3463, allocations: 179.9 kB / 0.5366 GB, free: 5.695 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 (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.001248/0.3475, allocations: 1.019 MB / 0.5376 GB, free: 4.863 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000737/0.3483, allocations: 304.8 kB / 0.5379 GB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3483, allocations: 0 / 0.5379 GB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004414/0.3487, allocations: 175.7 kB / 0.538 GB, free: 4.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.3491, allocations: 16.89 kB / 0.538 GB, free: 4.672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.3525, allocations: 2.533 MB / 0.5405 GB, free: 2.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.3529, allocations: 0.7949 MB / 0.5413 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002574/0.3532, allocations: 101.6 kB / 0.5414 GB, free: 1.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.3533, allocations: 95.23 kB / 0.5415 GB, free: 1.809 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3534, allocations: 0 / 0.5415 GB, free: 1.809 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.3813, allocations: 7.156 MB / 0.5485 GB, free: 12.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.5, allocations: 13.69 kB / 0.5485 GB, free: 12.74 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches