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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 116.8 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 189.2 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 249.8 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2331/0.2331, allocations: 44.92 MB / 349.6 MB, free: 1.715 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 68.86 kB / 491.8 MB, free: 29.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1079, allocations: 64.25 MB / 0.543 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003147/0.1111, allocations: 1.836 MB / 0.5448 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.1136, allocations: 1.656 MB / 0.5464 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/0.1137, allocations: 0 / 0.5464 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.1139, allocations: 43.75 kB / 0.5465 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.1142, allocations: 87.56 kB / 0.5466 GB, free: 472 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008328/0.115, allocations: 402.7 kB / 0.5469 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.1153, allocations: 242.7 kB / 0.5472 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.206e-05/0.1154, allocations: 20.69 kB / 0.5472 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.1155, allocations: 107.4 kB / 0.5473 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.1157, allocations: 127.4 kB / 0.5474 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.1157, allocations: 8 kB / 0.5474 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009374/0.1167, allocations: 0.6977 MB / 0.5481 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.908e-05/0.1167, allocations: 75.67 kB / 0.5482 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.1169, allocations: 111.2 kB / 0.5483 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008134/0.1177, allocations: 0.6227 MB / 0.5489 GB, free: 14.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1177, allocations: 0 / 0.5489 GB, free: 14.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1177, allocations: 0 / 0.5489 GB, free: 14.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1177, allocations: 0 / 0.5489 GB, free: 14.06 MB / 414.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.0009025/0.1186, allocations: 0.6268 MB / 0.5495 GB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1186, allocations: 8.031 kB / 0.5495 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.167e-05/0.1187, allocations: 74.72 kB / 0.5496 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.1188, allocations: 32.73 kB / 0.5496 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.1191, allocations: 243.2 kB / 0.5498 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.1191, allocations: 32.44 kB / 0.5499 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.1191, allocations: 20 kB / 0.5499 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007164/0.1199, allocations: 467.3 kB / 0.5503 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1199, allocations: 0 / 0.5503 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.1199, allocations: 15.98 kB / 0.5504 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.343e-05/0.12, allocations: 48.95 kB / 0.5504 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008425/0.1208, allocations: 0.5465 MB / 0.5509 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.1227, allocations: 1.319 MB / 0.5522 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.1233, allocations: 254.5 kB / 0.5525 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.1234, allocations: 92.78 kB / 0.5526 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.493e-05/0.1235, allocations: 12.27 kB / 0.5526 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1235, allocations: 30.56 kB / 0.5526 GB, free: 10.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.292e-06/0.1235, allocations: 4 kB / 0.5526 GB, free: 10.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007101/0.1242, allocations: 337.2 kB / 0.5529 GB, free: 9.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.1243, allocations: 55.41 kB / 0.553 GB, free: 9.613 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.1244, allocations: 138.1 kB / 0.5531 GB, free: 9.465 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.1244, allocations: 29.7 kB / 0.5531 GB, free: 9.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.1246, allocations: 204.2 kB / 0.5533 GB, free: 9.227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.01e-05/0.1246, allocations: 87.23 kB / 0.5534 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.592e-05/0.1247, allocations: 73.64 kB / 0.5535 GB, free: 9.062 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1249, allocations: 326.8 kB / 0.5538 GB, free: 8.734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.125, allocations: 87.92 kB / 0.5539 GB, free: 8.648 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.1253, allocations: 174.2 kB / 0.554 GB, free: 8.441 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004645/0.1258, allocations: 286.9 kB / 0.5543 GB, free: 8.125 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1258, allocations: 0 / 0.5543 GB, free: 8.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005806/0.1264, allocations: 333 kB / 0.5546 GB, free: 7.793 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1264, allocations: 5.875 kB / 0.5546 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.1264, allocations: 4 kB / 0.5546 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1264, allocations: 4.344 kB / 0.5547 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.1269, allocations: 119.9 kB / 0.5548 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.1282, allocations: 2.36 MB / 0.5571 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.1284, allocations: 47.66 kB / 0.5571 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.1284, allocations: 12 kB / 0.5571 GB, free: 5.152 MB / 414.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.0002017/0.1286, allocations: 169.9 kB / 0.5573 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.1287, allocations: 15.95 kB / 0.5573 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007661/0.1294, allocations: 370.3 kB / 0.5577 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.1294, allocations: 4 kB / 0.5577 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1295, allocations: 4 kB / 0.5577 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1295, allocations: 7.875 kB / 0.5577 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.1299, allocations: 337.4 kB / 0.558 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1299, allocations: 0 / 0.558 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000423/0.1303, allocations: 107.9 kB / 0.5581 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1303, allocations: 8 kB / 0.5581 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.1303, allocations: 12 kB / 0.5581 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.1316, allocations: 2.356 MB / 0.5604 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1316, allocations: 0 / 0.5604 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005486/0.1322, allocations: 384.9 kB / 0.5608 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/0.1322, allocations: 96.89 kB / 0.5609 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.1323, allocations: 8 kB / 0.5609 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.1324, allocations: 11.98 kB / 0.5609 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.1325, allocations: 23.97 kB / 0.5609 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.1325, allocations: 8 kB / 0.5609 GB, free: 1.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.01e-05/0.1326, allocations: 101.2 kB / 0.561 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1326, allocations: 0 / 0.561 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005139/0.1331, allocations: 167.2 kB / 0.5612 GB, free: 0.8086 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.001174/0.1343, allocations: 1.032 MB / 0.5622 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007216/0.135, allocations: 284.4 kB / 0.5625 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.135, allocations: 3.938 kB / 0.5625 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004158/0.1354, allocations: 171.8 kB / 0.5626 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.1357, allocations: 15.98 kB / 0.5626 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.139, allocations: 2.547 MB / 0.5651 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.1395, allocations: 0.7987 MB / 0.5659 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002566/0.1397, allocations: 97.73 kB / 0.566 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.1399, allocations: 91.39 kB / 0.5661 GB, free: 11.58 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1399, allocations: 0 / 0.5661 GB, free: 11.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.1733, allocations: 7.116 MB / 0.573 GB, free: 4.691 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/11.99, allocations: 12 kB / 0.5731 GB, free: 4.68 MB / 430.1 MB " [Timeout remaining time 648] (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 --stepSize=0.0002 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.242268135305494]