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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.001149/0.001149, allocations: 173.7 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.221/1.221, 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.0006749/0.000675, allocations: 84.88 kB / 271.2 MB, free: 8.258 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.2966/0.2966, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003672, allocations: 12 kB / 432.1 MB, free: 5.699 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09684/0.09723, 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_volumeFlowRate_DPMFLOW): time 0.001787/0.09906, allocations: 1.352 MB / 492.3 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1004, allocations: 0.8389 MB / 493.1 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.203e-05/0.1005, allocations: 4 kB / 493.1 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.1007, allocations: 27.86 kB / 493.2 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.1009, allocations: 43.8 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.1012, allocations: 111.7 kB / 493.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.1015, allocations: 171.2 kB / 493.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.95e-05/0.1015, allocations: 21.38 kB / 493.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.182e-05/0.1016, allocations: 43.8 kB / 493.5 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1017, allocations: 75.62 kB / 493.6 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.1017, allocations: 4 kB / 493.6 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.1021, allocations: 191.7 kB / 493.8 MB, free: 7.871 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.1021, allocations: 43.83 kB / 493.9 MB, free: 7.828 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.42e-05/0.1022, allocations: 81.31 kB / 493.9 MB, free: 7.742 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.1025, allocations: 163.9 kB / 494.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1025, allocations: 0 / 494.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1025, allocations: 0 / 494.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1025, allocations: 0 / 494.1 MB, free: 7.582 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005168/0.103, allocations: 451 kB / 494.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1031, allocations: 8.031 kB / 494.5 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.872e-05/0.1031, allocations: 50.73 kB / 494.6 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.1042, allocations: 128.5 kB / 494.7 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.1044, allocations: 224 kB / 494.9 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1044, allocations: 16.31 kB / 495 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.1045, allocations: 8.375 kB / 495 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006024/0.1051, allocations: 329.4 kB / 495.3 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1051, allocations: 0 / 495.3 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.1051, allocations: 4 kB / 495.3 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.1052, allocations: 27.98 kB / 495.3 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000726/0.1059, allocations: 327.7 kB / 495.6 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.1073, allocations: 0.8336 MB / 496.5 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000676/0.1079, allocations: 230.3 kB / 496.7 MB, free: 4.785 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.1082, allocations: 88.81 kB / 496.8 MB, free: 4.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.1083, allocations: 0 / 496.8 MB, free: 4.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1083, allocations: 34.56 kB / 496.8 MB, free: 4.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.1083, allocations: 0 / 496.8 MB, free: 4.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000965/0.1093, allocations: 321.2 kB / 497.1 MB, free: 4.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.1093, allocations: 51.41 kB / 497.2 MB, free: 4.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.1095, allocations: 192.6 kB / 497.4 MB, free: 4.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1095, allocations: 33.7 kB / 497.4 MB, free: 4.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.1096, allocations: 139.4 kB / 497.5 MB, free: 3.895 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.1096, allocations: 31.5 kB / 497.6 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.531e-05/0.1096, allocations: 0 / 497.6 MB, free: 3.863 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1098, allocations: 330.8 kB / 497.9 MB, free: 3.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.11, allocations: 87.89 kB / 498 MB, free: 3.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.1104, allocations: 142.8 kB / 498.1 MB, free: 3.281 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.111, allocations: 238.6 kB / 498.3 MB, free: 3.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.111, allocations: 0 / 498.3 MB, free: 3.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007108/0.1117, allocations: 281.3 kB / 498.6 MB, free: 2.742 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1117, allocations: 12.03 kB / 498.6 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1117, allocations: 3.938 kB / 498.6 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1117, allocations: 4 kB / 498.6 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/0.1122, allocations: 83.86 kB / 498.7 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008698/0.1131, allocations: 1.781 MB / 0.4888 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.1134, allocations: 31.77 kB / 0.4888 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.1134, allocations: 15.97 kB / 0.4888 GB, free: 0.7422 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 (17): * Single equations (assignments): 14 * 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.0001377/0.1135, allocations: 146.4 kB / 0.489 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.1136, allocations: 15.75 kB / 0.489 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007654/0.1144, allocations: 278.6 kB / 0.4892 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1144, allocations: 4 kB / 0.4892 GB, free: 296 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1144, allocations: 0 / 0.4892 GB, free: 296 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1144, allocations: 0 / 0.4892 GB, free: 296 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1612/0.2755, allocations: 257 kB / 0.4895 GB, free: 43.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.2756, allocations: 0 / 0.4895 GB, free: 43.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/0.2761, allocations: 70.38 kB / 0.4896 GB, free: 43.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.2761, allocations: 3.812 kB / 0.4896 GB, free: 43.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.2762, allocations: 8.719 kB / 0.4896 GB, free: 43.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006019/0.2768, allocations: 1.778 MB / 0.4913 GB, free: 41.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2768, allocations: 0.7188 kB / 0.4913 GB, free: 41.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/0.2775, allocations: 332.1 kB / 0.4916 GB, free: 41.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.2775, allocations: 91.22 kB / 0.4917 GB, free: 41.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.2776, allocations: 1.188 kB / 0.4917 GB, free: 41.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.2778, allocations: 12.72 kB / 0.4917 GB, free: 41.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/0.2778, allocations: 16.78 kB / 0.4917 GB, free: 41.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.2779, allocations: 16.06 kB / 0.4918 GB, free: 41.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001027/0.278, allocations: 139.1 kB / 0.4919 GB, free: 41.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.278, allocations: 0 / 0.4919 GB, free: 41.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003577/0.2784, allocations: 64.45 kB / 0.4919 GB, free: 41.43 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 (10): * Single equations (assignments): 7 * 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.0009308/0.2793, allocations: 0.8759 MB / 0.4928 GB, free: 40.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008499/0.2802, allocations: 247.9 kB / 0.493 GB, free: 40.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2802, allocations: 0 / 0.493 GB, free: 40.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004531/0.2806, allocations: 139.4 kB / 0.4932 GB, free: 40.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.2809, allocations: 16.06 kB / 0.4932 GB, free: 40.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.283, allocations: 1.232 MB / 0.4944 GB, free: 40.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.2832, allocations: 0.7419 MB / 0.4951 GB, free: 39.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.2834, allocations: 65.17 kB / 0.4952 GB, free: 39.56 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.2834, allocations: 0 / 0.4952 GB, free: 39.56 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.384/3.667, allocations: 5.085 MB / 0.5001 GB, free: 39.27 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches