Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 211.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.221/0.221, allocations: 46.96 MB / 360.9 MB, free: 4.113 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_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_1_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.00309/0.00309, allocations: 67.89 kB / 0.4961 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3705, allocations: 66.04 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003163/0.3736, allocations: 1.804 MB / 0.5624 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.3762, allocations: 1.528 MB / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.739e-05/0.3763, allocations: 7.938 kB / 0.5639 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.3765, allocations: 43.75 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.3768, allocations: 87.56 kB / 0.564 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008409/0.3777, allocations: 406.6 kB / 0.5644 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.378, allocations: 242.7 kB / 0.5646 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.775e-05/0.378, allocations: 18.41 kB / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.3782, allocations: 107.5 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.3784, allocations: 123.4 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.3784, allocations: 8 kB / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005988/0.379, allocations: 315.3 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.526e-05/0.3791, allocations: 71.67 kB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.3792, allocations: 99.28 kB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007612/0.38, allocations: 0.5214 MB / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.38, allocations: 0 / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.38, allocations: 3.938 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.38, allocations: 3.938 kB / 0.5659 GB, free: 14.84 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.0009166/0.3809, allocations: 0.5555 MB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.381, allocations: 12.03 kB / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.329e-05/0.3811, allocations: 74.7 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.3811, allocations: 36.69 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.3814, allocations: 189.3 kB / 0.5667 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.3815, allocations: 24.66 kB / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.3815, allocations: 23.98 kB / 0.5667 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007703/0.3823, allocations: 467.9 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3823, allocations: 0 / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.3823, allocations: 8 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.711e-05/0.3824, allocations: 56.89 kB / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009025/0.3833, allocations: 0.5387 MB / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.3852, allocations: 1.032 MB / 0.5688 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006195/0.3858, allocations: 281 kB / 0.569 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.386, allocations: 92.8 kB / 0.5691 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.3861, allocations: 7.938 kB / 0.5691 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.3861, allocations: 34.56 kB / 0.5692 GB, free: 11.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/0.3861, allocations: 0 / 0.5692 GB, free: 11.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008006/0.3869, allocations: 337.2 kB / 0.5695 GB, free: 10.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.387, allocations: 51.41 kB / 0.5695 GB, free: 10.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.3871, allocations: 150.1 kB / 0.5697 GB, free: 10.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.3871, allocations: 29.7 kB / 0.5697 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.3873, allocations: 204.5 kB / 0.5699 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/0.3874, allocations: 87.22 kB / 0.57 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3875, allocations: 73.66 kB / 0.5701 GB, free: 10.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.3877, allocations: 326.8 kB / 0.5704 GB, free: 9.988 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.3879, allocations: 87.92 kB / 0.5705 GB, free: 9.902 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.3882, allocations: 175 kB / 0.5706 GB, free: 9.695 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/0.3887, allocations: 290.8 kB / 0.5709 GB, free: 9.375 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3887, allocations: 0 / 0.5709 GB, free: 9.375 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006224/0.3893, allocations: 329.1 kB / 0.5712 GB, free: 9.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3893, allocations: 7.938 kB / 0.5712 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.3893, allocations: 4 kB / 0.5712 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3893, allocations: 4 kB / 0.5712 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/0.3899, allocations: 132.2 kB / 0.5714 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.3914, allocations: 2.367 MB / 0.5737 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.3916, allocations: 39.7 kB / 0.5737 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.3916, allocations: 16 kB / 0.5737 GB, free: 6.387 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.0001957/0.3918, allocations: 178.1 kB / 0.5739 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.3919, allocations: 11.91 kB / 0.5739 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007734/0.3927, allocations: 366.2 kB / 0.5743 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.3927, allocations: 4 kB / 0.5743 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3927, allocations: 0 / 0.5743 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.3927, allocations: 3.938 kB / 0.5743 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.3931, allocations: 312.5 kB / 0.5746 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3931, allocations: 0 / 0.5746 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000469/0.3936, allocations: 127.8 kB / 0.5747 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3936, allocations: 0 / 0.5747 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.3936, allocations: 11.98 kB / 0.5747 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.395, allocations: 2.356 MB / 0.577 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.395, allocations: 0 / 0.577 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006011/0.3956, allocations: 371.7 kB / 0.5774 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.3956, allocations: 23.83 kB / 0.5774 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.3957, allocations: 4 kB / 0.5774 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.3958, allocations: 8 kB / 0.5774 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.3959, allocations: 27.95 kB / 0.5774 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.396, allocations: 8 kB / 0.5774 GB, free: 2.438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.914e-05/0.3961, allocations: 107.2 kB / 0.5775 GB, free: 2.332 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3961, allocations: 0 / 0.5775 GB, free: 2.332 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005395/0.3966, allocations: 179.2 kB / 0.5777 GB, free: 2.156 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.00121/0.3978, allocations: 1.036 MB / 0.5787 GB, free: 1.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000723/0.3986, allocations: 287.7 kB / 0.579 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3986, allocations: 0 / 0.579 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004248/0.399, allocations: 168.4 kB / 0.5791 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.3993, allocations: 24.72 kB / 0.5792 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.4028, allocations: 2.554 MB / 0.5817 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.403, allocations: 197.8 kB / 0.5818 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002875/0.4033, allocations: 101.7 kB / 0.5819 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.4034, allocations: 87.41 kB / 0.582 GB, free: 13.53 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4034, allocations: 3.938 kB / 0.582 GB, free: 13.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03521/0.4386, allocations: 7.597 MB / 0.5895 GB, free: 6.102 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.84, allocations: 7.312 kB / 0.5895 GB, free: 6.098 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 16.162354914005846]