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.0009485/0.0009485, allocations: 79.7 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008373/0.0008373, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8993/0.8993, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2521/0.2521, allocations: 34.25 MB / 294.9 MB, free: 0.6992 MB / 266.7 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 1.553e-06/1.553e-06, allocations: 0 / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.979e-05, allocations: 4.391 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.1788/0.1789, allocations: 1.811 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1805, allocations: 1.544 MB / 445.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.1805, allocations: 0 / 445.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.1807, allocations: 42.19 kB / 445.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.181, allocations: 90.06 kB / 445.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.1814, allocations: 409.7 kB / 446.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.1816, allocations: 257.1 kB / 446.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.1816, allocations: 13.88 kB / 446.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.1818, allocations: 142.1 kB / 446.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.735e-05/0.1819, allocations: 106.3 kB / 446.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.1819, allocations: 8.719 kB / 446.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.1822, allocations: 319 kB / 446.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.183e-05/0.1823, allocations: 78.91 kB / 447 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.125e-05/0.1824, allocations: 71.91 kB / 447.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.1828, allocations: 0.5277 MB / 447.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1828, allocations: 2.812 kB / 447.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1828, allocations: 0 / 447.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.1828, allocations: 0 / 447.6 MB, free: 42.34 MB / 410.7 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.0005209/0.1833, allocations: 0.556 MB / 448.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1833, allocations: 11.38 kB / 448.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.1834, allocations: 71.53 kB / 448.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.1834, allocations: 38.62 kB / 448.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.1836, allocations: 181.4 kB / 448.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.1836, allocations: 27.55 kB / 448.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1836, allocations: 23.97 kB / 448.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.184, allocations: 468.8 kB / 449 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1841, allocations: 0 / 449 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1841, allocations: 16.27 kB / 449 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.093e-05/0.1841, allocations: 53.97 kB / 449 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004735/0.1846, allocations: 0.5368 MB / 449.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.1856, allocations: 1.044 MB / 450.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.186, allocations: 262.1 kB / 450.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.1861, allocations: 93.19 kB / 451 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.1861, allocations: 2.906 kB / 451 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.1861, allocations: 41.28 kB / 451 MB, free: 40.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/0.1861, allocations: 0 / 451 MB, free: 40.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004391/0.1866, allocations: 341.8 kB / 451.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.1866, allocations: 54.16 kB / 451.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.458e-05/0.1867, allocations: 149.7 kB / 451.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.1867, allocations: 29.7 kB / 451.6 MB, free: 40.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.1867, allocations: 201.4 kB / 451.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.1868, allocations: 93.09 kB / 451.8 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.1868, allocations: 74.83 kB / 451.9 MB, free: 39.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.056e-05/0.1869, allocations: 324.1 kB / 452.2 MB, free: 39.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.187, allocations: 86.67 kB / 452.3 MB, free: 39.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.1871, allocations: 179.1 kB / 452.5 MB, free: 39.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.1873, allocations: 292.8 kB / 452.8 MB, free: 39.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1873, allocations: 2.781 kB / 452.8 MB, free: 39.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003128/0.1876, allocations: 321.7 kB / 453.1 MB, free: 39.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1877, allocations: 7.625 kB / 453.1 MB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1877, allocations: 6.203 kB / 453.1 MB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1877, allocations: 9.562 kB / 453.1 MB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.188, allocations: 131.5 kB / 453.2 MB, free: 39.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004859/0.1885, allocations: 2.364 MB / 455.6 MB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.288e-05/0.1885, allocations: 31.72 kB / 455.6 MB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1886, allocations: 14.22 kB / 455.7 MB, free: 36.84 MB / 410.7 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.0001082/0.1887, allocations: 179 kB / 455.8 MB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.1887, allocations: 15.66 kB / 455.8 MB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.1891, allocations: 363.8 kB / 456.2 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1891, allocations: 2.844 kB / 456.2 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1891, allocations: 3.938 kB / 456.2 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1891, allocations: 7.328 kB / 456.2 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.1894, allocations: 312.7 kB / 456.5 MB, free: 36.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1894, allocations: 0 / 456.5 MB, free: 36.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.1896, allocations: 112.1 kB / 456.6 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1896, allocations: 0 / 456.6 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1896, allocations: 17.23 kB / 456.6 MB, free: 36.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000355/0.19, allocations: 2.361 MB / 459 MB, free: 33.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.19, allocations: 0 / 459 MB, free: 33.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.1903, allocations: 364.1 kB / 459.4 MB, free: 33.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.1903, allocations: 21.72 kB / 459.4 MB, free: 33.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1903, allocations: 10.88 kB / 459.4 MB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.1903, allocations: 13.11 kB / 459.4 MB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.1904, allocations: 22.8 kB / 459.4 MB, free: 33.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.1904, allocations: 17 kB / 459.4 MB, free: 33.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.881e-05/0.1904, allocations: 96.97 kB / 459.5 MB, free: 33.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1904, allocations: 0 / 459.5 MB, free: 33.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003701/0.1908, allocations: 181.5 kB / 459.7 MB, free: 33.57 MB / 410.7 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.0006763/0.1915, allocations: 1.042 MB / 460.8 MB, free: 32.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004073/0.1919, allocations: 291.5 kB / 461 MB, free: 32.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1919, allocations: 6.875 kB / 461.1 MB, free: 32.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.1921, allocations: 165.5 kB / 461.2 MB, free: 32.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.1924, allocations: 20.58 kB / 461.2 MB, free: 32.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.194, allocations: 2.541 MB / 463.8 MB, free: 30.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.303e-05/0.1941, allocations: 196.5 kB / 464 MB, free: 30.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001483/0.1942, allocations: 99.25 kB / 464.1 MB, free: 30.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.1943, allocations: 89.92 kB / 464.2 MB, free: 30.75 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1943, allocations: 0 / 464.2 MB, free: 30.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.2137, allocations: 7.751 MB / 471.9 MB, free: 29.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/7.953, allocations: 4 kB / 471.9 MB, free: 29.43 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/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/jenkins/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: 10.154715853743255]