Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 213.2 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.234/0.234, allocations: 46.96 MB / 360.8 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 79.88 kB / 0.4962 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3607, allocations: 66.08 MB / 0.5607 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003334/0.364, allocations: 1.799 MB / 0.5625 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.3667, allocations: 1.544 MB / 0.564 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.3667, allocations: 3.938 kB / 0.564 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.367, allocations: 43.77 kB / 0.564 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.3672, allocations: 79.56 kB / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008073/0.368, allocations: 406.7 kB / 0.5645 GB, free: 160 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.3683, allocations: 246.7 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.276e-05/0.3684, allocations: 10.42 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.3686, allocations: 111.4 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.3688, allocations: 119.5 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.3688, allocations: 12 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005901/0.3694, allocations: 323.2 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.701e-05/0.3695, allocations: 71.62 kB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.3696, allocations: 95.41 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007165/0.3703, allocations: 0.5291 MB / 0.566 GB, free: 14.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3703, allocations: 0 / 0.566 GB, free: 14.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3703, allocations: 0 / 0.566 GB, free: 14.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.3703, allocations: 0 / 0.566 GB, free: 14.65 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009051/0.3712, allocations: 0.5555 MB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3713, allocations: 8.031 kB / 0.5665 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.174e-05/0.3714, allocations: 78.7 kB / 0.5666 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.612e-05/0.3714, allocations: 32.7 kB / 0.5666 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.3717, allocations: 185.3 kB / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.3718, allocations: 24.64 kB / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.3718, allocations: 24 kB / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/0.3726, allocations: 471.9 kB / 0.5673 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3726, allocations: 0 / 0.5673 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.3726, allocations: 15.98 kB / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.431e-05/0.3727, allocations: 48.91 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008601/0.3735, allocations: 0.5426 MB / 0.5679 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.3754, allocations: 1.04 MB / 0.5689 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.376, allocations: 265 kB / 0.5691 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.3762, allocations: 96.72 kB / 0.5692 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.3762, allocations: 7.938 kB / 0.5692 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.3763, allocations: 42.5 kB / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.402e-06/0.3763, allocations: 0 / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007435/0.377, allocations: 337.3 kB / 0.5696 GB, free: 10.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.377, allocations: 55.41 kB / 0.5697 GB, free: 10.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.3772, allocations: 142.1 kB / 0.5698 GB, free: 10.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.3772, allocations: 29.7 kB / 0.5698 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.3773, allocations: 200.1 kB / 0.57 GB, free: 10.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.684e-05/0.3774, allocations: 95.59 kB / 0.5701 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.854e-05/0.3775, allocations: 69.64 kB / 0.5702 GB, free: 10.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3777, allocations: 326.8 kB / 0.5705 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.3779, allocations: 91.92 kB / 0.5706 GB, free: 9.711 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.3781, allocations: 175 kB / 0.5707 GB, free: 9.504 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004905/0.3786, allocations: 290.9 kB / 0.571 GB, free: 9.184 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.3786, allocations: 4 kB / 0.571 GB, free: 9.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005835/0.3792, allocations: 325.1 kB / 0.5713 GB, free: 8.855 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3792, allocations: 8 kB / 0.5713 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3793, allocations: 0 / 0.5713 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3793, allocations: 4 kB / 0.5713 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.3798, allocations: 139.8 kB / 0.5715 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.3812, allocations: 2.364 MB / 0.5738 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.3813, allocations: 35.7 kB / 0.5738 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.3814, allocations: 16 kB / 0.5738 GB, free: 6.199 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.3815, allocations: 177.7 kB / 0.574 GB, free: 6.016 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.3816, allocations: 15.91 kB / 0.574 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007621/0.3823, allocations: 374.5 kB / 0.5744 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3823, allocations: 4 kB / 0.5744 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.3824, allocations: 8 kB / 0.5744 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3824, allocations: 7.922 kB / 0.5744 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.3827, allocations: 296.5 kB / 0.5747 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3827, allocations: 0 / 0.5747 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.3832, allocations: 119.9 kB / 0.5748 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.3832, allocations: 4 kB / 0.5748 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.3832, allocations: 8 kB / 0.5748 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.3846, allocations: 2.363 MB / 0.5771 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3846, allocations: 0 / 0.5771 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005541/0.3852, allocations: 371.2 kB / 0.5775 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.3852, allocations: 15.84 kB / 0.5775 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.3852, allocations: 8.375 kB / 0.5775 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.3854, allocations: 15.98 kB / 0.5775 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.3854, allocations: 19.97 kB / 0.5775 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.3855, allocations: 15.98 kB / 0.5775 GB, free: 2.238 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.245e-05/0.3855, allocations: 101.9 kB / 0.5776 GB, free: 2.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3855, allocations: 0 / 0.5776 GB, free: 2.141 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005106/0.386, allocations: 179.2 kB / 0.5778 GB, free: 1.965 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/0.3872, allocations: 1.032 MB / 0.5788 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007228/0.3879, allocations: 296.3 kB / 0.5791 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3879, allocations: 0 / 0.5791 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004199/0.3884, allocations: 171.8 kB / 0.5793 GB, free: 456 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.3887, allocations: 18.12 kB / 0.5793 GB, free: 440 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.392, allocations: 2.549 MB / 0.5818 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.3922, allocations: 193.7 kB / 0.5819 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002562/0.3925, allocations: 105.7 kB / 0.582 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.3926, allocations: 87.39 kB / 0.5821 GB, free: 13.33 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3926, allocations: 0 / 0.5821 GB, free: 13.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.4286, allocations: 7.6 MB / 0.5896 GB, free: 5.883 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.78, allocations: 3.859 kB / 0.5896 GB, free: 5.879 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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: 16.113287133164704]