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.001241/0.001241, allocations: 107 kB / 17.33 MB, free: 6 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.001254/0.001254, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.3/1.3, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.2227/0.2227, allocations: 44.18 MB / 336.2 MB, free: 2.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.00145, allocations: 64.28 kB / 408 MB, free: 27.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1209, allocations: 60.83 MB / 468.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.004651/0.1256, allocations: 1.871 MB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.1286, allocations: 1.629 MB / 472.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.1288, allocations: 7.938 kB / 472.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.1292, allocations: 39.83 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005239/0.1298, allocations: 71.64 kB / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009819/0.1308, allocations: 371 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.1311, allocations: 242.8 kB / 473.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.16e-05/0.1312, allocations: 24.41 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.1314, allocations: 103.4 kB / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.1316, allocations: 123.5 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.1317, allocations: 8 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009806/0.1326, allocations: 0.7055 MB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1328, allocations: 67.69 kB / 474.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.1329, allocations: 123.1 kB / 474.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009681/0.1339, allocations: 0.6079 MB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1339, allocations: 0 / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.1339, allocations: 3.984 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1339, allocations: 0 / 474.8 MB, free: 8.586 MB / 350.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.001073/0.135, allocations: 0.62 MB / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.1351, allocations: 8.031 kB / 475.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.932e-05/0.1351, allocations: 74.72 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.177e-05/0.1352, allocations: 32.56 kB / 475.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.1355, allocations: 239.1 kB / 475.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.1355, allocations: 20.55 kB / 475.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.1356, allocations: 28 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000764/0.1364, allocations: 471.2 kB / 476.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1364, allocations: 0 / 476.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.1364, allocations: 15.98 kB / 476.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.324e-05/0.1365, allocations: 48.95 kB / 476.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008557/0.1374, allocations: 0.5504 MB / 476.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.1393, allocations: 1.311 MB / 478.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005468/0.1399, allocations: 266.5 kB / 478.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.1401, allocations: 108.8 kB / 478.6 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.736e-05/0.1402, allocations: 7.938 kB / 478.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1402, allocations: 34.56 kB / 478.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.043e-06/0.1402, allocations: 0 / 478.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007765/0.141, allocations: 329.9 kB / 479 MB, free: 4.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1411, allocations: 59.41 kB / 479 MB, free: 4.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1412, allocations: 141.2 kB / 479.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.1413, allocations: 29.7 kB / 479.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1414, allocations: 204.1 kB / 479.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.962e-05/0.1415, allocations: 86.7 kB / 479.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.1416, allocations: 77.48 kB / 479.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1418, allocations: 326.8 kB / 479.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.142, allocations: 91.92 kB / 479.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.1422, allocations: 170.2 kB / 480.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/0.1427, allocations: 294.1 kB / 480.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1427, allocations: 0 / 480.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006583/0.1434, allocations: 333 kB / 480.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.1434, allocations: 8 kB / 480.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.1435, allocations: 0 / 480.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1435, allocations: 4 kB / 480.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.144, allocations: 119.9 kB / 480.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.1453, allocations: 2.368 MB / 483.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.1455, allocations: 39.61 kB / 483.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.1456, allocations: 16 kB / 483.3 MB, free: 15.66 MB / 366.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.0002105/0.1458, allocations: 165.7 kB / 483.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.1458, allocations: 15.89 kB / 483.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008065/0.1466, allocations: 368.2 kB / 483.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1467, allocations: 4 kB / 483.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1467, allocations: 0 / 483.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.1467, allocations: 3.938 kB / 483.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.1471, allocations: 349.2 kB / 484.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1471, allocations: 4 kB / 484.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/0.1475, allocations: 103.9 kB / 484.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1475, allocations: 0 / 484.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.1475, allocations: 8 kB / 484.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.1488, allocations: 2.364 MB / 486.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1488, allocations: 0 / 486.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/0.1493, allocations: 375.4 kB / 487 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.1494, allocations: 88.95 kB / 487.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.1495, allocations: 8 kB / 487.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.1496, allocations: 16.08 kB / 487.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/0.1497, allocations: 27.91 kB / 487.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.1498, allocations: 11.94 kB / 487.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.91e-05/0.1498, allocations: 99.27 kB / 487.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1498, allocations: 0 / 487.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006232/0.1505, allocations: 163.5 kB / 487.4 MB, free: 11.34 MB / 366.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.001346/0.1518, allocations: 1.033 MB / 488.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000858/0.1527, allocations: 347.6 kB / 488.8 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1527, allocations: 4 kB / 488.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004205/0.1531, allocations: 173 kB / 489 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.1535, allocations: 27.86 kB / 489 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.1568, allocations: 2.672 MB / 491.7 MB, free: 6.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.1572, allocations: 0.7987 MB / 492.5 MB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003035/0.1575, allocations: 101.7 kB / 492.6 MB, free: 5.996 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.1576, allocations: 95.39 kB / 492.6 MB, free: 5.902 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1576, allocations: 4 kB / 492.7 MB, free: 5.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.1772, allocations: 6.789 MB / 499.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/0.1775, allocations: 292.7 kB / 499.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.213, allocations: 2.672 kB / 499.7 MB, free: 14.98 MB / 382.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