Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.006888/0.006888, allocations: 100.2 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 195 kB / 16.79 MB, free: 6.238 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.366/1.366, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.2837/0.2837, allocations: 43.5 MB / 313.5 MB, free: 8.336 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.001282/0.001282, allocations: 71.89 kB / 382.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1025, allocations: 57.78 MB / 439.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002698/0.1052, allocations: 1.883 MB / 441.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003464/0.1087, allocations: 2.934 MB / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.1087, allocations: 0 / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.109, allocations: 43.75 kB / 444.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.1093, allocations: 71.64 kB / 444.9 MB, free: 9.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.1104, allocations: 0.6542 MB / 445.5 MB, free: 8.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.1107, allocations: 306.7 kB / 445.8 MB, free: 8.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.942e-05/0.1108, allocations: 36.31 kB / 445.9 MB, free: 8.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.111, allocations: 99.44 kB / 446 MB, free: 8.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.1111, allocations: 123.4 kB / 446.1 MB, free: 8.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.1112, allocations: 8 kB / 446.1 MB, free: 8.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.1126, allocations: 1.201 MB / 447.3 MB, free: 7.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.5e-05/0.1127, allocations: 75.61 kB / 447.4 MB, free: 7.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.314e-05/0.1128, allocations: 103.2 kB / 447.5 MB, free: 6.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.1138, allocations: 0.9116 MB / 448.4 MB, free: 6.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1138, allocations: 0 / 448.4 MB, free: 6.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1138, allocations: 4 kB / 448.4 MB, free: 6.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1138, allocations: 0 / 448.4 MB, free: 6.02 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.000925/0.1148, allocations: 0.6591 MB / 449 MB, free: 5.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1148, allocations: 8.031 kB / 449 MB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.409e-05/0.1149, allocations: 74.72 kB / 449.1 MB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.115, allocations: 32.56 kB / 449.2 MB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1152, allocations: 239.1 kB / 449.4 MB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.1153, allocations: 24.55 kB / 449.4 MB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.1153, allocations: 24 kB / 449.4 MB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006698/0.116, allocations: 471.2 kB / 449.9 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.116, allocations: 0 / 449.9 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.116, allocations: 11.98 kB / 449.9 MB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.954e-05/0.1161, allocations: 48.95 kB / 450 MB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007738/0.1169, allocations: 0.5542 MB / 450.5 MB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.1185, allocations: 1.311 MB / 451.8 MB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.119, allocations: 266.5 kB / 452.1 MB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.1192, allocations: 100.8 kB / 452.2 MB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.1192, allocations: 11.92 kB / 452.2 MB, free: 1.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1193, allocations: 42.5 kB / 452.2 MB, free: 1.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.242e-06/0.1193, allocations: 0 / 452.2 MB, free: 1.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0006774/0.12, allocations: 325.2 kB / 452.5 MB, free: 1.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.12, allocations: 55.41 kB / 452.6 MB, free: 1.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.1201, allocations: 142 kB / 452.7 MB, free: 1.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1201, allocations: 25.7 kB / 452.8 MB, free: 1.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1202, allocations: 196.1 kB / 453 MB, free: 1.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.374e-05/0.1203, allocations: 90.73 kB / 453 MB, free: 1.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.1204, allocations: 73.69 kB / 453.1 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.1205, allocations: 322.8 kB / 453.4 MB, free: 0.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.1207, allocations: 91.78 kB / 453.5 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.1209, allocations: 170.2 kB / 453.7 MB, free: 384 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.1214, allocations: 306.7 kB / 454 MB, free: 40 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.1214, allocations: 0 / 454 MB, free: 40 kB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.1491/0.2705, allocations: 316.3 kB / 454.3 MB, free: 48.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.2705, allocations: 8.875 kB / 454.3 MB, free: 48.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2705, allocations: 3.469 kB / 454.3 MB, free: 48.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.2706, allocations: 4.125 kB / 454.3 MB, free: 48.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.271, allocations: 116.2 kB / 454.4 MB, free: 48.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006237/0.2716, allocations: 2.373 MB / 456.8 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.2718, allocations: 30.48 kB / 456.8 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.2718, allocations: 17.22 kB / 456.8 MB, free: 46.5 MB / 382.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.0001762/0.272, allocations: 178.5 kB / 457 MB, free: 46.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.2721, allocations: 17.16 kB / 457 MB, free: 46.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006569/0.2727, allocations: 357.6 kB / 457.4 MB, free: 46.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2727, allocations: 2.688 kB / 457.4 MB, free: 46.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.2728, allocations: 0 / 457.4 MB, free: 46.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2728, allocations: 7.25 kB / 457.4 MB, free: 46.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.273, allocations: 339.6 kB / 457.7 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2731, allocations: 0 / 457.7 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.2734, allocations: 103.5 kB / 457.8 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.2734, allocations: 8.359 kB / 457.8 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.2735, allocations: 10.16 kB / 457.8 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005424/0.274, allocations: 2.357 MB / 460.2 MB, free: 43.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.274, allocations: 2.906 kB / 460.2 MB, free: 43.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.2744, allocations: 380.3 kB / 460.6 MB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.2745, allocations: 95.56 kB / 460.7 MB, free: 43.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.2745, allocations: 9.062 kB / 460.7 MB, free: 43.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2746, allocations: 12.77 kB / 460.7 MB, free: 43.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.2747, allocations: 20.56 kB / 460.7 MB, free: 43.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.2747, allocations: 11.94 kB / 460.7 MB, free: 43.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.976e-05/0.2748, allocations: 108.2 kB / 460.8 MB, free: 43.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2748, allocations: 0 / 460.8 MB, free: 43.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005442/0.2753, allocations: 242.7 kB / 461.1 MB, free: 43.48 MB / 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 (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.001054/0.2764, allocations: 1.146 MB / 462.2 MB, free: 42.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000626/0.277, allocations: 303.3 kB / 462.5 MB, free: 42.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.277, allocations: 0 / 462.5 MB, free: 42.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.2774, allocations: 182.3 kB / 462.7 MB, free: 42.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.2778, allocations: 20.14 kB / 462.7 MB, free: 42.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.2804, allocations: 2.685 MB / 465.4 MB, free: 41.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.2806, allocations: 0.7995 MB / 466.2 MB, free: 40.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002697/0.2809, allocations: 100.6 kB / 466.3 MB, free: 40.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.281, allocations: 90.48 kB / 466.4 MB, free: 40.37 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.281, allocations: 4 kB / 466.4 MB, free: 40.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.2994, allocations: 8.364 MB / 474.7 MB, free: 39.52 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.2996, allocations: 298.5 kB / 475 MB, free: 39.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.184, allocations: 0 / 475 MB, free: 39.12 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches