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_overall_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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.0008282/0.0008282, allocations: 173.9 kB / 16.72 MB, free: 4.938 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.214/1.214, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0008112/0.000811, allocations: 98.39 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.3197/0.3197, allocations: 43.55 MB / 363.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004718, allocations: 8 kB / 432.1 MB, free: 5.457 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1198, allocations: 58.85 MB / 491 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002263/0.1221, allocations: 1.505 MB / 492.5 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003937/0.1261, allocations: 2.652 MB / 495.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.1262, allocations: 3.938 kB / 495.1 MB, free: 6.332 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.1265, allocations: 31.83 kB / 495.1 MB, free: 6.301 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.1268, allocations: 83.62 kB / 495.2 MB, free: 6.219 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.1285, allocations: 0.6152 MB / 495.8 MB, free: 5.602 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.1288, allocations: 270.7 kB / 496.1 MB, free: 5.336 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.188e-05/0.1289, allocations: 32.38 kB / 496.1 MB, free: 5.305 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.1292, allocations: 91.58 kB / 496.2 MB, free: 5.215 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.1294, allocations: 119.5 kB / 496.3 MB, free: 5.098 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.1294, allocations: 8 kB / 496.4 MB, free: 5.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.1312, allocations: 1.15 MB / 497.5 MB, free: 3.938 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1313, allocations: 67.73 kB / 497.6 MB, free: 3.871 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.1315, allocations: 129 kB / 497.7 MB, free: 3.738 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009476/0.1325, allocations: 0.538 MB / 498.2 MB, free: 3.199 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1325, allocations: 0 / 498.2 MB, free: 3.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1325, allocations: 0 / 498.2 MB, free: 3.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1325, allocations: 0 / 498.2 MB, free: 3.199 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.001029/0.1335, allocations: 0.628 MB / 498.9 MB, free: 2.523 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.1336, allocations: 8.031 kB / 498.9 MB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.1337, allocations: 86.62 kB / 499 MB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.273e-05/0.1338, allocations: 28.56 kB / 499 MB, free: 2.395 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.134, allocations: 243.1 kB / 499.2 MB, free: 2.117 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1341, allocations: 12.56 kB / 499.2 MB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.1341, allocations: 31.98 kB / 499.3 MB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007144/0.1348, allocations: 475.3 kB / 499.7 MB, free: 1.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1348, allocations: 0 / 499.7 MB, free: 1.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.1349, allocations: 12 kB / 499.7 MB, free: 1.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.963e-05/0.1349, allocations: 40.97 kB / 499.8 MB, free: 1.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008075/0.1358, allocations: 0.5582 MB / 0.4886 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2148/0.3506, allocations: 1.316 MB / 0.4899 GB, free: 42.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005887/0.3512, allocations: 277.4 kB / 0.4902 GB, free: 42.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.3514, allocations: 106 kB / 0.4903 GB, free: 42.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.3515, allocations: 12.08 kB / 0.4903 GB, free: 42.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.3515, allocations: 33.72 kB / 0.4903 GB, free: 42.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.735e-06/0.3515, allocations: 0.9688 kB / 0.4903 GB, free: 42.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008023/0.3523, allocations: 343.7 kB / 0.4906 GB, free: 42.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.3524, allocations: 53.5 kB / 0.4907 GB, free: 42.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.3525, allocations: 142.3 kB / 0.4908 GB, free: 42.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3525, allocations: 30.36 kB / 0.4908 GB, free: 42.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.559e-05/0.3526, allocations: 193.5 kB / 0.491 GB, free: 42.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.087e-05/0.3527, allocations: 87.11 kB / 0.4911 GB, free: 42.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/0.3527, allocations: 5.781 kB / 0.4911 GB, free: 42.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.3528, allocations: 327.3 kB / 0.4914 GB, free: 41.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.353, allocations: 92.52 kB / 0.4915 GB, free: 41.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.3533, allocations: 180.4 kB / 0.4917 GB, free: 41.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.3538, allocations: 299 kB / 0.492 GB, free: 41.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3538, allocations: 0 / 0.492 GB, free: 41.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006076/0.3544, allocations: 341.7 kB / 0.4923 GB, free: 41.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3544, allocations: 7.406 kB / 0.4923 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3544, allocations: 3.562 kB / 0.4923 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3545, allocations: 3.688 kB / 0.4923 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005069/0.355, allocations: 121.4 kB / 0.4924 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008395/0.3558, allocations: 2.364 MB / 0.4947 GB, free: 39.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.356, allocations: 39.22 kB / 0.4948 GB, free: 39.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.356, allocations: 15.72 kB / 0.4948 GB, free: 39.26 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.0001993/0.3563, allocations: 175.9 kB / 0.495 GB, free: 39.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.3563, allocations: 17.08 kB / 0.495 GB, free: 39.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009808/0.3573, allocations: 378.3 kB / 0.4953 GB, free: 39.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3573, allocations: 3.281 kB / 0.4953 GB, free: 39.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3573, allocations: 5.25 kB / 0.4953 GB, free: 39.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.3573, allocations: 1.547 kB / 0.4954 GB, free: 39.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.3578, allocations: 345.3 kB / 0.4957 GB, free: 38.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3578, allocations: 0.5 kB / 0.4957 GB, free: 38.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.3582, allocations: 113 kB / 0.4958 GB, free: 38.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3582, allocations: 1.406 kB / 0.4958 GB, free: 38.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.3582, allocations: 9.984 kB / 0.4958 GB, free: 38.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006734/0.3589, allocations: 2.361 MB / 0.4981 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3589, allocations: 0 / 0.4981 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005358/0.3595, allocations: 389.4 kB / 0.4985 GB, free: 36.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.3595, allocations: 95.19 kB / 0.4986 GB, free: 36.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.3596, allocations: 4.328 kB / 0.4986 GB, free: 36.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3597, allocations: 16.41 kB / 0.4986 GB, free: 36.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.3598, allocations: 21.77 kB / 0.4986 GB, free: 36.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.3598, allocations: 13.44 kB / 0.4986 GB, free: 36.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.096e-05/0.3599, allocations: 100.3 kB / 0.4987 GB, free: 36.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3599, allocations: 5.531 kB / 0.4987 GB, free: 36.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007529/0.3606, allocations: 233 kB / 0.4989 GB, free: 36.16 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.00123/0.3619, allocations: 1.147 MB / 0.5001 GB, free: 35.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008/0.3627, allocations: 311.1 kB / 0.5004 GB, free: 35.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3627, allocations: 4.859 kB / 0.5004 GB, free: 35.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.3632, allocations: 188 kB / 0.5005 GB, free: 35.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.3635, allocations: 11.73 kB / 0.5006 GB, free: 35.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.3657, allocations: 1.546 MB / 0.5021 GB, free: 34.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.366, allocations: 0.798 MB / 0.5028 GB, free: 33.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.3662, allocations: 93.02 kB / 0.5029 GB, free: 33.91 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3662, allocations: 0 / 0.5029 GB, free: 33.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.738/4.104, allocations: 10.39 MB / 0.5131 GB, free: 33.07 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches