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.001905/0.001905, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002173/0.002173, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.4/1.4, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.2165/0.2165, allocations: 46.93 MB / 360.9 MB, free: 4.262 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.002042/0.002042, allocations: 63.91 kB / 0.4962 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3182, allocations: 66.03 MB / 0.5607 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003211/0.3214, allocations: 1.859 MB / 0.5625 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.3242, allocations: 1.723 MB / 0.5642 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.365e-05/0.3243, allocations: 4 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.3246, allocations: 51.69 kB / 0.5642 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.3249, allocations: 79.56 kB / 0.5643 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009094/0.3258, allocations: 410.7 kB / 0.5647 GB, free: 364 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.3262, allocations: 242.7 kB / 0.5649 GB, free: 120 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.491e-05/0.3263, allocations: 14.42 kB / 0.5649 GB, free: 104 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.3265, allocations: 103.6 kB / 0.565 GB, free: 16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.3267, allocations: 131.3 kB / 0.5652 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.3267, allocations: 12 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.3278, allocations: 0.7173 MB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.994e-05/0.3279, allocations: 71.69 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.328, allocations: 111.2 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009097/0.3289, allocations: 0.6344 MB / 0.5667 GB, free: 14.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3289, allocations: 0 / 0.5667 GB, free: 14.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3289, allocations: 0 / 0.5667 GB, free: 14.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.329, allocations: 3.938 kB / 0.5667 GB, free: 14.32 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.001073/0.33, allocations: 0.5632 MB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.3301, allocations: 8.031 kB / 0.5672 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.3302, allocations: 78.66 kB / 0.5673 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.133e-05/0.3303, allocations: 32.7 kB / 0.5673 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.3306, allocations: 193.3 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.3306, allocations: 20.64 kB / 0.5675 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.3307, allocations: 24 kB / 0.5676 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007558/0.3314, allocations: 471.9 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3315, allocations: 0 / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.3315, allocations: 11.98 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-05/0.3316, allocations: 48.97 kB / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008518/0.3324, allocations: 0.5503 MB / 0.5686 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.3344, allocations: 1.276 MB / 0.5699 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/0.335, allocations: 258.4 kB / 0.5701 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.3351, allocations: 92.78 kB / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.3352, allocations: 7.938 kB / 0.5702 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.3352, allocations: 38.56 kB / 0.5702 GB, free: 10.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.322e-06/0.3352, allocations: 0 / 0.5702 GB, free: 10.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007766/0.336, allocations: 337.2 kB / 0.5706 GB, free: 10.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.336, allocations: 59.41 kB / 0.5706 GB, free: 10.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3362, allocations: 145 kB / 0.5707 GB, free: 9.906 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.3362, allocations: 25.7 kB / 0.5708 GB, free: 9.875 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.3364, allocations: 200.6 kB / 0.571 GB, free: 9.676 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.3364, allocations: 91.16 kB / 0.571 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-05/0.3365, allocations: 69.69 kB / 0.5711 GB, free: 9.512 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3367, allocations: 322.8 kB / 0.5714 GB, free: 9.188 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.3369, allocations: 91.92 kB / 0.5715 GB, free: 9.098 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.3371, allocations: 175 kB / 0.5717 GB, free: 8.891 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.3376, allocations: 286.9 kB / 0.572 GB, free: 8.574 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3376, allocations: 0 / 0.572 GB, free: 8.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005983/0.3382, allocations: 333 kB / 0.5723 GB, free: 8.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3382, allocations: 4 kB / 0.5723 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.3382, allocations: 4 kB / 0.5723 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.3383, allocations: 4 kB / 0.5723 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.3387, allocations: 123.8 kB / 0.5724 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.3401, allocations: 2.364 MB / 0.5747 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.3403, allocations: 35.7 kB / 0.5747 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.3403, allocations: 16 kB / 0.5748 GB, free: 5.602 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.0001947/0.3405, allocations: 181.6 kB / 0.5749 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.3406, allocations: 15.91 kB / 0.5749 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007338/0.3413, allocations: 358.4 kB / 0.5753 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3413, allocations: 0 / 0.5753 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3413, allocations: 4 kB / 0.5753 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.3413, allocations: 7.938 kB / 0.5753 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.3417, allocations: 316.5 kB / 0.5756 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3417, allocations: 0 / 0.5756 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/0.3421, allocations: 111.8 kB / 0.5757 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.3421, allocations: 7.984 kB / 0.5757 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.3421, allocations: 8 kB / 0.5757 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.3435, allocations: 2.364 MB / 0.578 GB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3435, allocations: 0 / 0.578 GB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005564/0.3441, allocations: 375.3 kB / 0.5784 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.3441, allocations: 15.84 kB / 0.5784 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.3441, allocations: 8 kB / 0.5784 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.3443, allocations: 11.98 kB / 0.5784 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.3443, allocations: 24.03 kB / 0.5784 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.3444, allocations: 19.92 kB / 0.5785 GB, free: 1.637 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.404e-05/0.3444, allocations: 95.27 kB / 0.5786 GB, free: 1.543 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3444, allocations: 0 / 0.5786 GB, free: 1.543 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006017/0.345, allocations: 179.2 kB / 0.5787 GB, free: 1.367 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.001294/0.3463, allocations: 1.028 MB / 0.5797 GB, free: 316 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007453/0.3471, allocations: 291.7 kB / 0.58 GB, free: 24 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3471, allocations: 0 / 0.58 GB, free: 24 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004463/0.3475, allocations: 167.8 kB / 0.5802 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.3479, allocations: 12.69 kB / 0.5802 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.3512, allocations: 2.568 MB / 0.5827 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.3517, allocations: 0.8102 MB / 0.5835 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002564/0.352, allocations: 97.72 kB / 0.5836 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.3521, allocations: 87.39 kB / 0.5837 GB, free: 12.12 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3521, allocations: 4 kB / 0.5837 GB, free: 12.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.3867, allocations: 7.335 MB / 0.5908 GB, free: 4.941 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.05, allocations: 10.27 kB / 0.5908 GB, free: 4.934 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.273268575780094]