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.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.0008571/0.0008571, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008257/0.0008257, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8895/0.8895, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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.2456/0.2456, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 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.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_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 1.543e-06/1.543e-06, allocations: 0 / 439.6 MB, free: 4.211 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.119e-05, allocations: 2.281 kB / 439.6 MB, free: 4.207 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.0023/0.002321, allocations: 1.816 MB / 441.4 MB, free: 2.375 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.004172, allocations: 1.543 MB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.106e-05/0.004243, allocations: 4 kB / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.004458, allocations: 39.7 kB / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.004729, allocations: 83.5 kB / 443.1 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006235/0.005353, allocations: 418.1 kB / 443.5 MB, free: 304 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.005563, allocations: 250.6 kB / 443.8 MB, free: 52 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.005609, allocations: 12.59 kB / 443.8 MB, free: 36 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1847/0.1903, allocations: 139.8 kB / 443.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.1905, allocations: 109.9 kB / 444 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.1905, allocations: 9.875 kB / 444 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006163/0.1911, allocations: 321.6 kB / 444.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.882e-05/0.1912, allocations: 73.88 kB / 444.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.229e-05/0.1913, allocations: 77.17 kB / 444.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006779/0.1919, allocations: 0.5241 MB / 445 MB, free: 42.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1919, allocations: 0 / 445 MB, free: 42.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1919, allocations: 2.906 kB / 445 MB, free: 42.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.192, allocations: 0 / 445 MB, free: 42.92 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.0006531/0.1926, allocations: 0.5558 MB / 445.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1926, allocations: 12.75 kB / 445.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.3e-05/0.1927, allocations: 77.33 kB / 445.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.1928, allocations: 34.98 kB / 445.7 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.1929, allocations: 179.3 kB / 445.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.193, allocations: 17.62 kB / 445.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.193, allocations: 28.09 kB / 445.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004862/0.1935, allocations: 473.9 kB / 446.4 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1935, allocations: 1.75 kB / 446.4 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.1935, allocations: 6.391 kB / 446.4 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.516e-05/0.1935, allocations: 52.17 kB / 446.4 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/0.194, allocations: 0.5488 MB / 447 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.1951, allocations: 1.039 MB / 448 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.1955, allocations: 268.3 kB / 448.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.1956, allocations: 89.84 kB / 448.4 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.1957, allocations: 6.094 kB / 448.4 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.1957, allocations: 40.47 kB / 448.4 MB, free: 41.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.485e-06/0.1957, allocations: 0.5 kB / 448.4 MB, free: 41.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004519/0.1961, allocations: 340.5 kB / 448.7 MB, free: 41.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.1961, allocations: 58.28 kB / 448.8 MB, free: 41.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.138e-05/0.1962, allocations: 143.8 kB / 448.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.1962, allocations: 29.27 kB / 449 MB, free: 41.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.1963, allocations: 201.9 kB / 449.2 MB, free: 41.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.1963, allocations: 87.36 kB / 449.3 MB, free: 41.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/0.1964, allocations: 68.34 kB / 449.3 MB, free: 41.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.1964, allocations: 331.1 kB / 449.6 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.1966, allocations: 88.34 kB / 449.7 MB, free: 41.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.1967, allocations: 170.5 kB / 449.9 MB, free: 40.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.197, allocations: 292.5 kB / 450.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.197, allocations: 2.531 kB / 450.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003282/0.1973, allocations: 322.5 kB / 450.5 MB, free: 40.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1973, allocations: 7.219 kB / 450.5 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.1973, allocations: 2.5 kB / 450.5 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1973, allocations: 5.562 kB / 450.5 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.1976, allocations: 129.5 kB / 450.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000431/0.1981, allocations: 2.368 MB / 453 MB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.525e-05/0.1981, allocations: 30.89 kB / 453 MB, free: 38.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.1982, allocations: 22.28 kB / 453.1 MB, free: 38.42 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.0001222/0.1983, allocations: 186.5 kB / 453.2 MB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.1983, allocations: 14.31 kB / 453.3 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.1987, allocations: 366.7 kB / 453.6 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1987, allocations: 3.375 kB / 453.6 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1987, allocations: 0 / 453.6 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1987, allocations: 3.422 kB / 453.6 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.199, allocations: 308.2 kB / 453.9 MB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.199, allocations: 0 / 453.9 MB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.1992, allocations: 119.9 kB / 454 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.1992, allocations: 0 / 454 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1992, allocations: 14.56 kB / 454.1 MB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003594/0.1996, allocations: 2.355 MB / 456.4 MB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1996, allocations: 7.219 kB / 456.4 MB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.1999, allocations: 367.6 kB / 456.8 MB, free: 35.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.1999, allocations: 22.31 kB / 456.8 MB, free: 35.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.1999, allocations: 11.31 kB / 456.8 MB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.2, allocations: 10.2 kB / 456.8 MB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.2, allocations: 27.5 kB / 456.8 MB, free: 35.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.2, allocations: 13.69 kB / 456.9 MB, free: 35.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.404e-05/0.2001, allocations: 99.84 kB / 457 MB, free: 35.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2001, allocations: 0 / 457 MB, free: 35.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004248/0.2005, allocations: 186.4 kB / 457.1 MB, free: 35.3 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.0007242/0.2012, allocations: 1.039 MB / 458.2 MB, free: 34.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004534/0.2017, allocations: 298.9 kB / 458.5 MB, free: 34.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2017, allocations: 0 / 458.5 MB, free: 34.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.2019, allocations: 167.8 kB / 458.6 MB, free: 34.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.2022, allocations: 21.36 kB / 458.7 MB, free: 34.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.2041, allocations: 2.535 MB / 461.2 MB, free: 32.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.2042, allocations: 191.4 kB / 461.4 MB, free: 32.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.2044, allocations: 103.6 kB / 461.5 MB, free: 32.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.752e-05/0.2045, allocations: 94.69 kB / 461.6 MB, free: 32.54 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2045, allocations: 0 / 461.6 MB, free: 32.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.2238, allocations: 7.76 MB / 469.3 MB, free: 31.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.091, allocations: 2.625 kB / 469.3 MB, free: 31.22 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/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/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.307569910772145]