Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 208.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.223/0.223, allocations: 46.97 MB / 360.9 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_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_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 71.89 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2889, allocations: 66.03 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.00304/0.292, allocations: 1.682 MB / 0.5623 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.2935, allocations: 0.7801 MB / 0.563 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.2936, allocations: 3.938 kB / 0.563 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.2938, allocations: 35.83 kB / 0.5631 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.294, allocations: 55.72 kB / 0.5631 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.2944, allocations: 99.64 kB / 0.5632 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.2946, allocations: 159.2 kB / 0.5634 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/0.2947, allocations: 9.062 kB / 0.5634 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.2949, allocations: 67.7 kB / 0.5634 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.295, allocations: 75.67 kB / 0.5635 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.295, allocations: 4 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.2953, allocations: 131.8 kB / 0.5636 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.699e-05/0.2954, allocations: 43.84 kB / 0.5637 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.2955, allocations: 51.67 kB / 0.5637 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000347/0.2958, allocations: 205 kB / 0.5639 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2958, allocations: 0 / 0.5639 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2958, allocations: 0 / 0.5639 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.2958, allocations: 0 / 0.5639 GB, free: 0.8516 MB / 398.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.000773/0.2966, allocations: 401.4 kB / 0.5643 GB, free: 440 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.2966, allocations: 8.031 kB / 0.5643 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.392e-05/0.2967, allocations: 50.73 kB / 0.5644 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005009/0.2972, allocations: 60.78 kB / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.2975, allocations: 170.2 kB / 0.5646 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.2976, allocations: 4.375 kB / 0.5646 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.2976, allocations: 15.94 kB / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005167/0.2981, allocations: 241.3 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2981, allocations: 0 / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.2982, allocations: 4 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.41e-05/0.2982, allocations: 19.98 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.2987, allocations: 223.8 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.2998, allocations: 0.5239 MB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.3, allocations: 86.44 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.3002, allocations: 44.81 kB / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3002, allocations: 0 / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.3002, allocations: 38.5 kB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.3002, allocations: 7.938 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005364/0.3008, allocations: 169.7 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.3008, allocations: 59.33 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.301, allocations: 187.2 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.3011, allocations: 25.7 kB / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.3012, allocations: 143.8 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.3012, allocations: 23.75 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.3013, allocations: 33.7 kB / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3014, allocations: 322.8 kB / 0.5667 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.3016, allocations: 51.94 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.3018, allocations: 106.4 kB / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.3021, allocations: 158.7 kB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3021, allocations: 0 / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004041/0.3025, allocations: 193.2 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3025, allocations: 4 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.3025, allocations: 4 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3026, allocations: 8.219 kB / 0.5672 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008673/0.3034, allocations: 91.88 kB / 0.5673 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.3049, allocations: 1.805 MB / 0.569 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.305, allocations: 23.78 kB / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.3051, allocations: 11.98 kB / 0.5691 GB, free: 11.28 MB / 414.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.0001399/0.3052, allocations: 141.7 kB / 0.5692 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.3052, allocations: 7.953 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004862/0.3057, allocations: 198.8 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3057, allocations: 0 / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3057, allocations: 0 / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3057, allocations: 0 / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.306, allocations: 200.6 kB / 0.5696 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.306, allocations: 0 / 0.5696 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000698/0.3067, allocations: 87.91 kB / 0.5697 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3067, allocations: 0 / 0.5697 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.3067, allocations: 3.984 kB / 0.5697 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.3079, allocations: 1.774 MB / 0.5714 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3079, allocations: 4.062 kB / 0.5714 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.3083, allocations: 243.2 kB / 0.5716 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.3084, allocations: 15.91 kB / 0.5716 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.3084, allocations: 4 kB / 0.5717 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.3085, allocations: 7.984 kB / 0.5717 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.3086, allocations: 11.98 kB / 0.5717 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3086, allocations: 0 / 0.5717 GB, free: 8.445 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.3087, allocations: 145.8 kB / 0.5718 GB, free: 8.305 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3087, allocations: 0 / 0.5718 GB, free: 8.305 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003279/0.309, allocations: 47.89 kB / 0.5719 GB, free: 8.258 MB / 414.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.0008107/0.3098, allocations: 0.7918 MB / 0.5726 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.311, allocations: 200.4 kB / 0.5728 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.311, allocations: 0 / 0.5728 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006332/0.3116, allocations: 99.95 kB / 0.5729 GB, free: 7.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.312, allocations: 40.66 kB / 0.573 GB, free: 7.109 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.3148, allocations: 2.104 MB / 0.575 GB, free: 4.883 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.3149, allocations: 134.6 kB / 0.5751 GB, free: 4.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.315, allocations: 29.41 kB / 0.5752 GB, free: 4.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.796e-05/0.3151, allocations: 43.42 kB / 0.5752 GB, free: 4.66 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3151, allocations: 3.938 kB / 0.5752 GB, free: 4.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03209/0.3472, allocations: 5.808 MB / 0.5809 GB, free: 15.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.82, allocations: 7.156 kB / 0.5809 GB, free: 15.07 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.867877026088536]