Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 174.2 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.4 MB / 222.9 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007494/0.0007494, allocations: 96.78 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3416/0.3416, allocations: 43.57 MB / 363.1 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004183, allocations: 12 kB / 432.1 MB, free: 5.461 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1183, allocations: 58.84 MB / 490.9 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002467/0.1209, allocations: 1.505 MB / 492.5 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002705/0.1236, allocations: 1.545 MB / 494 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1238, allocations: 0 / 494 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.1241, allocations: 47.73 kB / 494 MB, free: 7.414 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.1244, allocations: 71.66 kB / 494.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009285/0.1254, allocations: 351 kB / 494.5 MB, free: 7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.1258, allocations: 274.7 kB / 494.7 MB, free: 6.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.441e-05/0.1259, allocations: 28.38 kB / 494.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.1261, allocations: 91.56 kB / 494.8 MB, free: 6.613 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.1263, allocations: 127.5 kB / 495 MB, free: 6.488 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.1263, allocations: 8 kB / 495 MB, free: 6.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009825/0.1273, allocations: 0.6626 MB / 495.6 MB, free: 5.816 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.205e-05/0.1274, allocations: 71.67 kB / 495.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.1276, allocations: 121.1 kB / 495.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006181/0.1282, allocations: 371.4 kB / 496.2 MB, free: 5.258 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1282, allocations: 0 / 496.2 MB, free: 5.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1282, allocations: 0 / 496.2 MB, free: 5.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1282, allocations: 7.938 kB / 496.2 MB, free: 5.25 MB / 378.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.0009838/0.1292, allocations: 0.5811 MB / 496.8 MB, free: 4.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1293, allocations: 8.031 kB / 496.8 MB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.1294, allocations: 82.7 kB / 496.9 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.1295, allocations: 28.56 kB / 496.9 MB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.1297, allocations: 235.2 kB / 497.1 MB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.1298, allocations: 20.55 kB / 497.1 MB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.1298, allocations: 28 kB / 497.2 MB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007324/0.1306, allocations: 471.3 kB / 497.6 MB, free: 3.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1306, allocations: 7.938 kB / 497.6 MB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.1306, allocations: 11.98 kB / 497.7 MB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-05/0.1307, allocations: 48.91 kB / 497.7 MB, free: 3.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008147/0.1315, allocations: 0.5582 MB / 498.3 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.1333, allocations: 1.315 MB / 499.6 MB, free: 1.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.1339, allocations: 282.1 kB / 499.8 MB, free: 1.371 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.1341, allocations: 100.8 kB / 499.9 MB, free: 1.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.1342, allocations: 7.938 kB / 500 MB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1342, allocations: 42.56 kB / 500 MB, free: 1.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.793e-06/0.1342, allocations: 0 / 500 MB, free: 1.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007098/0.1349, allocations: 345.2 kB / 0.4886 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.135, allocations: 55.41 kB / 0.4887 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.1351, allocations: 134.1 kB / 0.4888 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.1351, allocations: 29.7 kB / 0.4888 GB, free: 0.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1352, allocations: 196.2 kB / 0.489 GB, free: 440 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.1353, allocations: 82.75 kB / 0.4891 GB, free: 356 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.467e-05/0.1353, allocations: 11.94 kB / 0.4891 GB, free: 344 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1355, allocations: 326.8 kB / 0.4894 GB, free: 8 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.191/0.3265, allocations: 92.59 kB / 0.4895 GB, free: 43.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.3267, allocations: 179.6 kB / 0.4897 GB, free: 42.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.3272, allocations: 302.9 kB / 0.49 GB, free: 42.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3272, allocations: 1.031 kB / 0.49 GB, free: 42.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006119/0.3278, allocations: 333.7 kB / 0.4903 GB, free: 42.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3278, allocations: 5.406 kB / 0.4903 GB, free: 42.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3279, allocations: 4.531 kB / 0.4903 GB, free: 42.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3279, allocations: 4.219 kB / 0.4903 GB, free: 42.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.3284, allocations: 124.5 kB / 0.4904 GB, free: 42.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007409/0.3291, allocations: 2.37 MB / 0.4927 GB, free: 40.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.3293, allocations: 36.06 kB / 0.4928 GB, free: 40.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.3293, allocations: 16.53 kB / 0.4928 GB, free: 40.5 MB / 378.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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.3295, allocations: 170.7 kB / 0.4929 GB, free: 40.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.3296, allocations: 19.78 kB / 0.4929 GB, free: 40.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007695/0.3304, allocations: 376 kB / 0.4933 GB, free: 40.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.3304, allocations: 2.875 kB / 0.4933 GB, free: 40.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3304, allocations: 0 / 0.4933 GB, free: 40.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.3304, allocations: 2.125 kB / 0.4933 GB, free: 40.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.3307, allocations: 338.8 kB / 0.4936 GB, free: 40.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3308, allocations: 2.094 kB / 0.4936 GB, free: 40.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.3312, allocations: 109.2 kB / 0.4937 GB, free: 40.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3312, allocations: 5.922 kB / 0.4937 GB, free: 40.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.3312, allocations: 12.69 kB / 0.4938 GB, free: 40.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000585/0.3318, allocations: 2.358 MB / 0.4961 GB, free: 37.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3318, allocations: 1.031 kB / 0.4961 GB, free: 37.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005096/0.3323, allocations: 383.7 kB / 0.4964 GB, free: 37.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.3324, allocations: 97.02 kB / 0.4965 GB, free: 37.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.3324, allocations: 5.531 kB / 0.4965 GB, free: 37.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.3325, allocations: 13.94 kB / 0.4965 GB, free: 37.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.3326, allocations: 21.78 kB / 0.4966 GB, free: 37.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.3327, allocations: 12.64 kB / 0.4966 GB, free: 37.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.896e-05/0.3327, allocations: 103.2 kB / 0.4967 GB, free: 37.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3327, allocations: 4 kB / 0.4967 GB, free: 37.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005617/0.3333, allocations: 174.7 kB / 0.4968 GB, free: 37.45 MB / 378.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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001044/0.3343, allocations: 1.024 MB / 0.4978 GB, free: 36.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007609/0.3351, allocations: 307.7 kB / 0.4981 GB, free: 36.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3351, allocations: 0.6875 kB / 0.4981 GB, free: 36.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005267/0.3357, allocations: 190.5 kB / 0.4983 GB, free: 36.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.336, allocations: 22.58 kB / 0.4983 GB, free: 36.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.3383, allocations: 1.512 MB / 0.4998 GB, free: 35.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.3385, allocations: 0.7939 MB / 0.5006 GB, free: 35.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.3387, allocations: 92.78 kB / 0.5007 GB, free: 35.29 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3387, allocations: 0 / 0.5007 GB, free: 35.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.671/4.009, allocations: 9.362 MB / 0.5098 GB, free: 34.63 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches