Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007817/0.0007817, allocations: 99.75 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008498/0.0008498, allocations: 182.4 kB / 16.92 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.4 MB / 223.1 MB, free: 5.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3179/0.3179, allocations: 43.57 MB / 315 MB, free: 8.711 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004854, allocations: 16 kB / 384.7 MB, free: 7.527 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09827/0.09876, allocations: 58.86 MB / 443.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.001776/0.1006, allocations: 1.384 MB / 445 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1019, allocations: 0.8347 MB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.102, allocations: 0 / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.1022, allocations: 43.83 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.1024, allocations: 47.69 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1027, allocations: 75.77 kB / 446 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.103, allocations: 215.1 kB / 446.2 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.848e-05/0.103, allocations: 29.36 kB / 446.2 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1032, allocations: 47.8 kB / 446.2 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.1033, allocations: 83.59 kB / 446.3 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1033, allocations: 4 kB / 446.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.1036, allocations: 155.8 kB / 446.5 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.1037, allocations: 35.84 kB / 446.5 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.879e-05/0.1038, allocations: 89.25 kB / 446.6 MB, free: 9.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.1041, allocations: 207.3 kB / 446.8 MB, free: 9.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1041, allocations: 0 / 446.8 MB, free: 9.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1041, allocations: 0 / 446.8 MB, free: 9.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1041, allocations: 0 / 446.8 MB, free: 9.301 MB / 382.1 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.0005522/0.1047, allocations: 435 kB / 447.2 MB, free: 8.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1047, allocations: 12.03 kB / 447.2 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.063e-05/0.1048, allocations: 50.67 kB / 447.3 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004709/0.1053, allocations: 72.67 kB / 447.4 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.1055, allocations: 212.1 kB / 447.6 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1055, allocations: 12.38 kB / 447.6 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.1055, allocations: 15.94 kB / 447.6 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.106, allocations: 241.5 kB / 447.8 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.106, allocations: 0 / 447.8 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.106, allocations: 4 kB / 447.8 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/0.106, allocations: 31.7 kB / 447.9 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/0.1065, allocations: 231.8 kB / 448.1 MB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.1075, allocations: 0.7325 MB / 448.8 MB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.1078, allocations: 90.45 kB / 448.9 MB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.1079, allocations: 60.81 kB / 449 MB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1079, allocations: 4.141 kB / 449 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.108, allocations: 34.5 kB / 449 MB, free: 6.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.108, allocations: 0 / 449 MB, free: 6.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005079/0.1085, allocations: 189.6 kB / 449.2 MB, free: 6.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1085, allocations: 51.41 kB / 449.2 MB, free: 6.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1087, allocations: 183.3 kB / 449.4 MB, free: 6.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1087, allocations: 29.7 kB / 449.5 MB, free: 6.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.1088, allocations: 135.5 kB / 449.6 MB, free: 6.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.266e-05/0.1089, allocations: 27.64 kB / 449.6 MB, free: 6.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.1089, allocations: 17.72 kB / 449.6 MB, free: 6.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.109, allocations: 322.8 kB / 449.9 MB, free: 5.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.1092, allocations: 55.94 kB / 450 MB, free: 5.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.1093, allocations: 102.8 kB / 450.1 MB, free: 5.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.1097, allocations: 182.7 kB / 450.3 MB, free: 5.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1097, allocations: 8 kB / 450.3 MB, free: 5.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000387/0.1101, allocations: 189.2 kB / 450.5 MB, free: 5.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1101, allocations: 8.219 kB / 450.5 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1101, allocations: 7.938 kB / 450.5 MB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1101, allocations: 4 kB / 450.5 MB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00086/0.111, allocations: 107.9 kB / 450.6 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.1122, allocations: 1.813 MB / 452.4 MB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.1124, allocations: 27.91 kB / 452.4 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.1124, allocations: 4 kB / 452.4 MB, free: 3.273 MB / 382.1 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.1125, allocations: 145.7 kB / 452.6 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.1126, allocations: 11.89 kB / 452.6 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/0.113, allocations: 186.9 kB / 452.8 MB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1131, allocations: 4 kB / 452.8 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1131, allocations: 3.984 kB / 452.8 MB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1131, allocations: 0 / 452.8 MB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.1133, allocations: 241.4 kB / 453 MB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1134, allocations: 0 / 453 MB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/0.114, allocations: 103.9 kB / 453.1 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1141, allocations: 4 kB / 453.1 MB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.1141, allocations: 0 / 453.1 MB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009618/0.115, allocations: 1.774 MB / 454.9 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1151, allocations: 0 / 454.9 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.1154, allocations: 259.3 kB / 455.2 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.1155, allocations: 96.84 kB / 455.2 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.1155, allocations: 4 kB / 455.2 MB, free: 300 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.1157, allocations: 8 kB / 455.3 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.1157, allocations: 7.984 kB / 455.3 MB, free: 284 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.1157, allocations: 4 kB / 455.3 MB, free: 280 kB / 382.1 MB Notification: Performance of sorting global known variables: time 9.923e-05/0.1158, allocations: 140.9 kB / 455.4 MB, free: 140 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1158, allocations: 0 / 455.4 MB, free: 140 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002925/0.1161, allocations: 47.94 kB / 455.5 MB, free: 92 kB / 382.1 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.18/0.2962, allocations: 0.7906 MB / 456.2 MB, free: 46.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.2973, allocations: 219.8 kB / 456.5 MB, free: 46.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2973, allocations: 2.625 kB / 456.5 MB, free: 46.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005766/0.2979, allocations: 120.5 kB / 456.6 MB, free: 46.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.2983, allocations: 35.2 kB / 456.6 MB, free: 46.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.3002, allocations: 2.172 MB / 458.8 MB, free: 44.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.3004, allocations: 0.7426 MB / 459.5 MB, free: 44.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.3005, allocations: 34.84 kB / 459.6 MB, free: 44.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/0.3006, allocations: 41.75 kB / 459.6 MB, free: 44.14 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3006, allocations: 3.906 kB / 459.6 MB, free: 44.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.3152, allocations: 4.631 MB / 464.2 MB, free: 43.71 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.3154, allocations: 298.9 kB / 464.5 MB, free: 43.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.204, allocations: 0 / 464.5 MB, free: 43.33 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches