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.001304/0.001304, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001493/0.001493, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2237/0.2237, allocations: 46.93 MB / 360.9 MB, free: 4.262 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.001967/0.001967, allocations: 71.89 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3136, allocations: 66.04 MB / 0.5607 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002994/0.3166, allocations: 1.706 MB / 0.5623 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.318, allocations: 0.8578 MB / 0.5632 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.3181, allocations: 0 / 0.5632 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.3183, allocations: 43.77 kB / 0.5632 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.3184, allocations: 55.72 kB / 0.5633 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.3188, allocations: 103.6 kB / 0.5634 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.319, allocations: 155.2 kB / 0.5635 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.319, allocations: 9.062 kB / 0.5635 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.3192, allocations: 67.7 kB / 0.5636 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.3193, allocations: 83.66 kB / 0.5637 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.3193, allocations: 4 kB / 0.5637 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/0.3196, allocations: 159.8 kB / 0.5638 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.3197, allocations: 35.84 kB / 0.5639 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.844e-05/0.3197, allocations: 67.55 kB / 0.5639 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.3201, allocations: 209 kB / 0.5641 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3201, allocations: 3.938 kB / 0.5641 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3201, allocations: 0 / 0.5641 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3201, allocations: 0 / 0.5641 GB, free: 0.9336 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.0005816/0.3207, allocations: 393.4 kB / 0.5645 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3207, allocations: 12.03 kB / 0.5645 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.756e-05/0.3207, allocations: 46.73 kB / 0.5646 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004484/0.3212, allocations: 60.78 kB / 0.5646 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.3214, allocations: 158.3 kB / 0.5648 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3215, allocations: 12.31 kB / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.3215, allocations: 23.86 kB / 0.5648 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.3219, allocations: 241.3 kB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.322, allocations: 0 / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.322, allocations: 8 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.322, allocations: 15.98 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.3224, allocations: 223.8 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.3236, allocations: 0.6978 MB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.3238, allocations: 90.44 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.3239, allocations: 44.81 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.324, allocations: 8.141 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.324, allocations: 34.5 kB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.324, allocations: 0 / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005093/0.3245, allocations: 165.5 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.3245, allocations: 55.41 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.3247, allocations: 187.2 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.3248, allocations: 33.64 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.523e-05/0.3248, allocations: 135.8 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.3249, allocations: 23.8 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.3249, allocations: 45.64 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3251, allocations: 326.8 kB / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.3252, allocations: 39.95 kB / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.3254, allocations: 98.81 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.3257, allocations: 170.9 kB / 0.5673 GB, free: 13.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3257, allocations: 4 kB / 0.5673 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000387/0.3261, allocations: 177.3 kB / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3261, allocations: 8 kB / 0.5675 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3261, allocations: 0 / 0.5675 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3262, allocations: 8.219 kB / 0.5675 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009058/0.3271, allocations: 95.83 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.3284, allocations: 1.805 MB / 0.5694 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.3286, allocations: 31.84 kB / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.3286, allocations: 8 kB / 0.5694 GB, free: 11.15 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.0001369/0.3287, allocations: 150.4 kB / 0.5696 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.3287, allocations: 11.91 kB / 0.5696 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/0.3292, allocations: 178.9 kB / 0.5698 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3292, allocations: 7.938 kB / 0.5698 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.3292, allocations: 0 / 0.5698 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3292, allocations: 0 / 0.5698 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.3295, allocations: 212.5 kB / 0.57 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3295, allocations: 0 / 0.57 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007054/0.3302, allocations: 79.91 kB / 0.57 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3302, allocations: 4 kB / 0.57 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.3302, allocations: 7.984 kB / 0.57 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.3313, allocations: 1.766 MB / 0.5718 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3313, allocations: 0 / 0.5718 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.3317, allocations: 255.2 kB / 0.572 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.3317, allocations: 11.91 kB / 0.572 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.3318, allocations: 8.094 kB / 0.572 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.3319, allocations: 11.98 kB / 0.572 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.332, allocations: 11.92 kB / 0.5721 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.332, allocations: 0 / 0.5721 GB, free: 8.305 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.3321, allocations: 145.8 kB / 0.5722 GB, free: 8.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3321, allocations: 0 / 0.5722 GB, free: 8.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.3324, allocations: 39.94 kB / 0.5722 GB, free: 8.125 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.0007396/0.3331, allocations: 0.7903 MB / 0.573 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.3343, allocations: 196.2 kB / 0.5732 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3343, allocations: 0 / 0.5732 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006395/0.3349, allocations: 111.8 kB / 0.5733 GB, free: 7.008 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.3353, allocations: 44.28 kB / 0.5733 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.3379, allocations: 2.1 MB / 0.5754 GB, free: 4.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.3383, allocations: 0.7358 MB / 0.5761 GB, free: 3.984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.3384, allocations: 45.31 kB / 0.5762 GB, free: 3.941 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.3384, allocations: 43.36 kB / 0.5762 GB, free: 3.898 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3384, allocations: 0 / 0.5762 GB, free: 3.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.3709, allocations: 5.192 MB / 0.5813 GB, free: 14.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.7, allocations: 7.922 kB / 0.5813 GB, free: 14.88 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.757210538955405]