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.001733/0.001733, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002002/0.002002, allocations: 208 kB / 23.73 MB, free: 4.523 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.41/1.41, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2305/0.2305, allocations: 46.95 MB / 360.9 MB, free: 4.059 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.00189/0.00189, allocations: 63.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.311, allocations: 66.04 MB / 0.5606 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003197/0.3142, allocations: 1.803 MB / 0.5624 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.3167, allocations: 1.532 MB / 0.5639 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.707e-05/0.3168, allocations: 4 kB / 0.5639 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.317, allocations: 43.75 kB / 0.5639 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.3173, allocations: 95.5 kB / 0.564 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008449/0.3182, allocations: 410.5 kB / 0.5644 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.3185, allocations: 238.7 kB / 0.5646 GB, free: 132 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/0.3185, allocations: 22.41 kB / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.3187, allocations: 103.5 kB / 0.5647 GB, free: 4 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.3189, allocations: 127.4 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.319, allocations: 8 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005856/0.3195, allocations: 339.3 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.31e-05/0.3196, allocations: 75.66 kB / 0.5653 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.3197, allocations: 87.36 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007402/0.3205, allocations: 0.5331 MB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3205, allocations: 0 / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3205, allocations: 0 / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.3205, allocations: 3.984 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.0009111/0.3214, allocations: 0.5554 MB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3214, allocations: 8.031 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.682e-05/0.3215, allocations: 74.72 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.198e-05/0.3216, allocations: 32.7 kB / 0.5665 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.3219, allocations: 193.2 kB / 0.5667 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.3219, allocations: 12.66 kB / 0.5667 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.3219, allocations: 35.98 kB / 0.5668 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007166/0.3226, allocations: 467.9 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3227, allocations: 3.938 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.3227, allocations: 8 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/0.3227, allocations: 48.95 kB / 0.5673 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008471/0.3236, allocations: 0.5426 MB / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.3254, allocations: 1.048 MB / 0.5688 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/0.326, allocations: 266.2 kB / 0.5691 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.3262, allocations: 92.8 kB / 0.5692 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.3262, allocations: 11.94 kB / 0.5692 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.3263, allocations: 34.55 kB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.764e-06/0.3263, allocations: 0 / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.000733/0.327, allocations: 329.3 kB / 0.5695 GB, free: 10.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.327, allocations: 59.34 kB / 0.5696 GB, free: 10.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.3272, allocations: 150.1 kB / 0.5697 GB, free: 10.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3272, allocations: 29.7 kB / 0.5697 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.3273, allocations: 196.2 kB / 0.5699 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.577e-05/0.3274, allocations: 95.22 kB / 0.57 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.3275, allocations: 69.66 kB / 0.5701 GB, free: 10.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3276, allocations: 330.8 kB / 0.5704 GB, free: 9.984 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.3278, allocations: 87.92 kB / 0.5705 GB, free: 9.898 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.3281, allocations: 179 kB / 0.5707 GB, free: 9.688 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004905/0.3286, allocations: 286.9 kB / 0.5709 GB, free: 9.371 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3286, allocations: 0 / 0.5709 GB, free: 9.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005929/0.3292, allocations: 329.1 kB / 0.5713 GB, free: 9.043 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3292, allocations: 4 kB / 0.5713 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3292, allocations: 4 kB / 0.5713 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.3292, allocations: 4 kB / 0.5713 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000543/0.3298, allocations: 128.2 kB / 0.5714 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.3311, allocations: 2.363 MB / 0.5737 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.3313, allocations: 43.7 kB / 0.5737 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.3313, allocations: 12 kB / 0.5737 GB, free: 6.395 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.0002031/0.3315, allocations: 178.1 kB / 0.5739 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.3316, allocations: 11.91 kB / 0.5739 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007726/0.3324, allocations: 370.2 kB / 0.5743 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3324, allocations: 4 kB / 0.5743 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3324, allocations: 0 / 0.5743 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/0.3324, allocations: 3.938 kB / 0.5743 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.3328, allocations: 312.9 kB / 0.5746 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3328, allocations: 0 / 0.5746 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004809/0.3333, allocations: 115.9 kB / 0.5747 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3333, allocations: 4 kB / 0.5747 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.3333, allocations: 15.98 kB / 0.5747 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.3346, allocations: 2.348 MB / 0.577 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3346, allocations: 0 / 0.577 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.3351, allocations: 383.6 kB / 0.5774 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.3352, allocations: 19.84 kB / 0.5774 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.3352, allocations: 7.938 kB / 0.5774 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.3354, allocations: 8 kB / 0.5774 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.3354, allocations: 27.89 kB / 0.5774 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.3354, allocations: 8 kB / 0.5774 GB, free: 2.441 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.02e-05/0.3355, allocations: 114.4 kB / 0.5776 GB, free: 2.332 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3355, allocations: 0 / 0.5776 GB, free: 2.332 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005758/0.3361, allocations: 175.2 kB / 0.5777 GB, free: 2.16 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.001219/0.3373, allocations: 1.036 MB / 0.5787 GB, free: 1.094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007399/0.338, allocations: 291.6 kB / 0.579 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.338, allocations: 0 / 0.579 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004298/0.3385, allocations: 167.8 kB / 0.5792 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.0003376/0.3388, allocations: 12.69 kB / 0.5792 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.3424, allocations: 2.562 MB / 0.5817 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.3426, allocations: 193.8 kB / 0.5819 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002751/0.3428, allocations: 97.72 kB / 0.582 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.343, allocations: 91.41 kB / 0.582 GB, free: 13.53 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.343, allocations: 0 / 0.582 GB, free: 13.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/0.3782, allocations: 7.715 MB / 0.5896 GB, free: 5.988 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.49, allocations: 7.797 kB / 0.5896 GB, free: 5.98 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: 15.733272950019455]