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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.000968/0.000968, allocations: 174.8 kB / 16.72 MB, free: 4.961 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.223/1.223, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0006876/0.0006876, allocations: 89.28 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.2927/0.2927, allocations: 43.57 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.000345, allocations: 12 kB / 432.1 MB, free: 5.703 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.09886, allocations: 58.85 MB / 490.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.001865/0.1008, allocations: 1.516 MB / 492.5 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009248/0.1017, allocations: 0.5768 MB / 493 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.134e-05/0.1018, allocations: 3.938 kB / 493 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.1021, allocations: 47.73 kB / 493.1 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.1023, allocations: 63.66 kB / 493.1 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.1026, allocations: 95.69 kB / 493.2 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.1029, allocations: 258.7 kB / 493.5 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.576e-05/0.1029, allocations: 32.28 kB / 493.5 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1031, allocations: 83.58 kB / 493.6 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.1032, allocations: 103.5 kB / 493.7 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.1033, allocations: 8 kB / 493.7 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003432/0.1036, allocations: 211.7 kB / 493.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.1037, allocations: 55.75 kB / 494 MB, free: 7.711 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1038, allocations: 117.1 kB / 494.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.1041, allocations: 227.7 kB / 494.3 MB, free: 7.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1041, allocations: 0 / 494.3 MB, free: 7.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1041, allocations: 0 / 494.3 MB, free: 7.367 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.1041, allocations: 0 / 494.3 MB, free: 7.367 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0005825/0.1047, allocations: 0.4914 MB / 494.8 MB, free: 6.828 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1048, allocations: 12.03 kB / 494.8 MB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.354e-05/0.1048, allocations: 66.66 kB / 494.9 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.1065, allocations: 200.3 kB / 495.1 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.1068, allocations: 271.9 kB / 495.3 MB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1069, allocations: 20.94 kB / 495.4 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.1069, allocations: 24.38 kB / 495.4 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009206/0.1078, allocations: 0.5045 MB / 495.9 MB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1079, allocations: 0 / 495.9 MB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.1079, allocations: 8 kB / 495.9 MB, free: 5.684 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.108, allocations: 28.55 kB / 495.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.1091, allocations: 0.5993 MB / 496.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.1112, allocations: 1.177 MB / 497.7 MB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.1118, allocations: 174.3 kB / 497.9 MB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.1122, allocations: 96.75 kB / 498 MB, free: 3.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.1122, allocations: 4 kB / 498 MB, free: 3.508 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.1123, allocations: 30.56 kB / 498 MB, free: 3.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.1123, allocations: 0 / 498 MB, free: 3.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001182/0.1135, allocations: 313.2 kB / 498.3 MB, free: 3.156 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.1135, allocations: 55.41 kB / 498.4 MB, free: 3.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.1138, allocations: 286.4 kB / 498.6 MB, free: 2.797 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1138, allocations: 25.7 kB / 498.7 MB, free: 2.766 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1139, allocations: 171.6 kB / 498.8 MB, free: 2.594 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.114, allocations: 23.66 kB / 498.9 MB, free: 2.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.114, allocations: 4 kB / 498.9 MB, free: 2.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.1141, allocations: 334.8 kB / 499.2 MB, free: 2.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.1144, allocations: 95.78 kB / 499.3 MB, free: 2.137 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.1148, allocations: 127.3 kB / 499.4 MB, free: 2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007054/0.1155, allocations: 223.1 kB / 499.6 MB, free: 1.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1156, allocations: 0 / 499.6 MB, free: 1.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008333/0.1164, allocations: 273.2 kB / 499.9 MB, free: 1.496 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1164, allocations: 4 kB / 499.9 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1164, allocations: 0 / 499.9 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1165, allocations: 4 kB / 499.9 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005722/0.1222, allocations: 459.3 kB / 0.4886 GB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1856/0.3078, allocations: 1.946 MB / 0.4905 GB, free: 42.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004503/0.3083, allocations: 50.67 kB / 0.4906 GB, free: 42.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.3084, allocations: 9.547 kB / 0.4906 GB, free: 42.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0001717/0.3086, allocations: 153.5 kB / 0.4907 GB, free: 41.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.3086, allocations: 17.5 kB / 0.4907 GB, free: 41.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.127e-05/0.3087, allocations: 28.34 kB / 0.4908 GB, free: 41.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3087, allocations: 5.188 kB / 0.4908 GB, free: 41.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3087, allocations: 0 / 0.4908 GB, free: 41.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3087, allocations: 1.781 kB / 0.4908 GB, free: 41.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.3091, allocations: 294.2 kB / 0.4911 GB, free: 41.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3091, allocations: 1.406 kB / 0.4911 GB, free: 41.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005719/0.3148, allocations: 458.8 kB / 0.4915 GB, free: 41.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.3148, allocations: 2.062 kB / 0.4915 GB, free: 41.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.3149, allocations: 6.375 kB / 0.4915 GB, free: 41.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.3171, allocations: 1.953 MB / 0.4934 GB, free: 40.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3172, allocations: 0 / 0.4934 GB, free: 40.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008262/0.318, allocations: 324.7 kB / 0.4937 GB, free: 39.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.3181, allocations: 95.8 kB / 0.4938 GB, free: 39.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.3181, allocations: 12.64 kB / 0.4938 GB, free: 39.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.3185, allocations: 20.34 kB / 0.4938 GB, free: 39.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.917e-05/0.3186, allocations: 10.14 kB / 0.4938 GB, free: 39.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.3186, allocations: 6.359 kB / 0.4939 GB, free: 39.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002075/0.3188, allocations: 205.9 kB / 0.4941 GB, free: 39.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3188, allocations: 1.156 kB / 0.4941 GB, free: 39.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003574/0.3192, allocations: 71.77 kB / 0.4941 GB, free: 39.71 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 (7): * Single equations (assignments): 4 * 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.001081/0.3203, allocations: 0.8805 MB / 0.495 GB, free: 39.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005997/0.3263, allocations: 0.6077 MB / 0.4956 GB, free: 39.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3263, allocations: 0 / 0.4956 GB, free: 39.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005501/0.3318, allocations: 0.4979 MB / 0.4961 GB, free: 39.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.3323, allocations: 39.34 kB / 0.4961 GB, free: 39.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.3353, allocations: 1.709 MB / 0.4978 GB, free: 38.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.3355, allocations: 0.7787 MB / 0.4985 GB, free: 37.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.3357, allocations: 64.84 kB / 0.4986 GB, free: 37.75 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3357, allocations: 1.188 kB / 0.4986 GB, free: 37.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.453/3.789, allocations: 7.191 MB / 0.5056 GB, free: 37.3 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches