Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.001025/0.001025, allocations: 175.1 kB / 16.72 MB, free: 5.059 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.228/1.228, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007681/0.0007681, allocations: 94.34 kB / 271.2 MB, free: 8.246 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.2819/0.2819, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003489, allocations: 16 kB / 432.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1049, allocations: 58.85 MB / 491 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.001771/0.1067, allocations: 1.368 MB / 492.3 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1079, allocations: 0.7766 MB / 493.1 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.1079, allocations: 4 kB / 493.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.1081, allocations: 27.84 kB / 493.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.1083, allocations: 51.75 kB / 493.2 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.1085, allocations: 75.7 kB / 493.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.1087, allocations: 183.2 kB / 493.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.406e-05/0.1088, allocations: 25.09 kB / 493.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1089, allocations: 55.72 kB / 493.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.109, allocations: 71.75 kB / 493.6 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.109, allocations: 0 / 493.6 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.1093, allocations: 155.8 kB / 493.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.1094, allocations: 39.83 kB / 493.8 MB, free: 7.695 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.667e-05/0.1095, allocations: 85.38 kB / 493.9 MB, free: 7.605 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.1097, allocations: 143.8 kB / 494 MB, free: 7.465 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1097, allocations: 0 / 494 MB, free: 7.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1097, allocations: 0 / 494 MB, free: 7.465 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1097, allocations: 0 / 494 MB, free: 7.465 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006121/0.1103, allocations: 443 kB / 494.4 MB, free: 6.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1104, allocations: 8.031 kB / 494.4 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.256e-05/0.1105, allocations: 54.73 kB / 494.5 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004568/0.1109, allocations: 64.67 kB / 494.6 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.1111, allocations: 208.1 kB / 494.8 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1111, allocations: 12.31 kB / 494.8 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.1112, allocations: 19.92 kB / 494.8 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/0.1116, allocations: 237.5 kB / 495 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1117, allocations: 4 kB / 495 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.1117, allocations: 4 kB / 495 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/0.1117, allocations: 31.64 kB / 495.1 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000424/0.1122, allocations: 231.8 kB / 495.3 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.1132, allocations: 0.7325 MB / 496 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.1134, allocations: 86.52 kB / 496.1 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.1136, allocations: 56.81 kB / 496.2 MB, free: 5.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.1136, allocations: 4 kB / 496.2 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1136, allocations: 34.5 kB / 496.2 MB, free: 5.055 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1136, allocations: 0 / 496.2 MB, free: 5.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004952/0.1141, allocations: 185.5 kB / 496.4 MB, free: 4.867 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1142, allocations: 55.41 kB / 496.4 MB, free: 4.801 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1143, allocations: 184.7 kB / 496.6 MB, free: 4.613 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1144, allocations: 29.7 kB / 496.6 MB, free: 4.578 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.1145, allocations: 135.6 kB / 496.8 MB, free: 4.441 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1145, allocations: 27.64 kB / 496.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-06/0.1145, allocations: 0 / 496.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1146, allocations: 326.8 kB / 497.1 MB, free: 4.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.1147, allocations: 47.95 kB / 497.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.1149, allocations: 110.8 kB / 497.3 MB, free: 3.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.1152, allocations: 163 kB / 497.4 MB, free: 3.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1153, allocations: 4 kB / 497.4 MB, free: 3.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003864/0.1156, allocations: 201.1 kB / 497.6 MB, free: 3.516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1157, allocations: 15.5 kB / 497.6 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1157, allocations: 0 / 497.6 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1157, allocations: 4 kB / 497.7 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008369/0.1165, allocations: 107.8 kB / 497.8 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.1177, allocations: 1.821 MB / 499.6 MB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.1178, allocations: 27.77 kB / 499.6 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.1179, allocations: 4 kB / 499.6 MB, free: 1.473 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.118, allocations: 145.7 kB / 499.7 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.118, allocations: 7.906 kB / 499.8 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.1185, allocations: 198.8 kB / 500 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1185, allocations: 4 kB / 500 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1185, allocations: 0 / 500 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1185, allocations: 0 / 500 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.1188, allocations: 233.4 kB / 0.4885 GB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1188, allocations: 0 / 0.4885 GB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006469/0.1194, allocations: 95.88 kB / 0.4886 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1195, allocations: 7.938 kB / 0.4886 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1195, allocations: 0 / 0.4886 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1723/0.2918, allocations: 1.773 MB / 0.4903 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2919, allocations: 0 / 0.4903 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.2922, allocations: 252.9 kB / 0.4905 GB, free: 42.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.2923, allocations: 90.39 kB / 0.4906 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.2923, allocations: 3.406 kB / 0.4906 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.2925, allocations: 15 kB / 0.4906 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.2925, allocations: 12.8 kB / 0.4906 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.2925, allocations: 1.547 kB / 0.4906 GB, free: 42.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.2927, allocations: 140.6 kB / 0.4908 GB, free: 41.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.2927, allocations: 0 / 0.4908 GB, free: 41.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003424/0.293, allocations: 50.39 kB / 0.4908 GB, free: 41.97 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005378/0.2936, allocations: 0.7906 MB / 0.4916 GB, free: 41.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.2947, allocations: 220.9 kB / 0.4918 GB, free: 41.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2947, allocations: 0 / 0.4918 GB, free: 41.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006007/0.2953, allocations: 120.1 kB / 0.4919 GB, free: 41.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.2957, allocations: 42.69 kB / 0.492 GB, free: 41.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.2971, allocations: 1.07 MB / 0.493 GB, free: 40.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.2973, allocations: 0.7418 MB / 0.4937 GB, free: 40.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.2974, allocations: 42.34 kB / 0.4938 GB, free: 40.11 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2974, allocations: 0 / 0.4938 GB, free: 40.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.324/3.621, allocations: 4.77 MB / 0.4984 GB, free: 39.87 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches