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.001055/0.001055, allocations: 103.7 kB / 16.27 MB, free: 5.961 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.001112/0.001112, allocations: 191.3 kB / 17.2 MB, free: 5.594 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.439/1.439, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1955/0.1955, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001519/0.001519, allocations: 66.09 kB / 382.9 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07854/0.08007, allocations: 57.79 MB / 440.7 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002989/0.08311, allocations: 1.816 MB / 442.5 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003054/0.08618, allocations: 2.902 MB / 445.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.08631, allocations: 4 kB / 445.4 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.08659, allocations: 43.73 kB / 445.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.08687, allocations: 79.58 kB / 445.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.08817, allocations: 0.7199 MB / 446.2 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.08837, allocations: 246.8 kB / 446.5 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.3e-05/0.08843, allocations: 28.39 kB / 446.5 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.08855, allocations: 99.44 kB / 446.6 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.08869, allocations: 119.5 kB / 446.7 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.08872, allocations: 8 kB / 446.7 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.09007, allocations: 1.209 MB / 447.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.536e-05/0.09017, allocations: 71.69 kB / 448 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.0903, allocations: 115.2 kB / 448.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.09148, allocations: 0.9116 MB / 449 MB, free: 14.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.09149, allocations: 0 / 449 MB, free: 14.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.0915, allocations: 0 / 449 MB, free: 14.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.09152, allocations: 0 / 449 MB, free: 14.4 MB / 334.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.0009478/0.09247, allocations: 0.6669 MB / 449.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.09251, allocations: 8.031 kB / 449.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.781e-05/0.09259, allocations: 74.72 kB / 449.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.09266, allocations: 28.56 kB / 449.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.09292, allocations: 243.1 kB / 450 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.09295, allocations: 32.48 kB / 450.1 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.093, allocations: 20 kB / 450.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/0.09378, allocations: 471.2 kB / 450.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.09381, allocations: 0 / 450.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.09384, allocations: 12 kB / 450.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-05/0.09391, allocations: 44.97 kB / 450.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008963/0.09481, allocations: 0.5504 MB / 451.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.09672, allocations: 1.319 MB / 452.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/0.09725, allocations: 272.5 kB / 452.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.09746, allocations: 96.73 kB / 452.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.09751, allocations: 19.92 kB / 452.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.09755, allocations: 38.5 kB / 452.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.943e-06/0.09756, allocations: 0 / 452.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008332/0.0984, allocations: 329.2 kB / 453.2 MB, free: 9.961 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.09844, allocations: 59.39 kB / 453.3 MB, free: 9.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.09856, allocations: 134 kB / 453.4 MB, free: 9.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.0986, allocations: 37.7 kB / 453.4 MB, free: 9.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.09872, allocations: 199.7 kB / 453.6 MB, free: 9.508 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/0.09878, allocations: 87.12 kB / 453.7 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.09891, allocations: 69.69 kB / 453.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.09912, allocations: 326.8 kB / 454.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.09932, allocations: 87.92 kB / 454.2 MB, free: 8.934 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.09961, allocations: 166.2 kB / 454.3 MB, free: 8.734 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.1001, allocations: 298 kB / 454.6 MB, free: 8.406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1001, allocations: 0 / 454.6 MB, free: 8.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005577/0.1007, allocations: 322.1 kB / 454.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1007, allocations: 12.06 kB / 455 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1007, allocations: 4 kB / 455 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1007, allocations: 4 kB / 455 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/0.1012, allocations: 115.9 kB / 455.1 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.1026, allocations: 2.368 MB / 457.4 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.1028, allocations: 35.62 kB / 457.5 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.1028, allocations: 20.27 kB / 457.5 MB, free: 5.438 MB / 334.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.0001869/0.103, allocations: 177.7 kB / 457.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.1031, allocations: 19.8 kB / 457.7 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009422/0.104, allocations: 358.3 kB / 458 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.104, allocations: 4 kB / 458 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.104, allocations: 4 kB / 458 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1041, allocations: 3.938 kB / 458.1 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/0.1044, allocations: 341.2 kB / 458.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1045, allocations: 3.984 kB / 458.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.1049, allocations: 99.95 kB / 458.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1049, allocations: 0 / 458.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.1049, allocations: 11.98 kB / 458.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.1063, allocations: 2.36 MB / 460.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1063, allocations: 4.062 kB / 460.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.107, allocations: 380.4 kB / 461.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.1071, allocations: 100.8 kB / 461.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.1071, allocations: 7.938 kB / 461.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.1073, allocations: 8 kB / 461.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.1073, allocations: 27.89 kB / 461.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.1074, allocations: 19.98 kB / 461.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1075, allocations: 98.78 kB / 461.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1075, allocations: 0 / 461.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000992/0.1085, allocations: 239.5 kB / 461.7 MB, free: 1.023 MB / 334.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.002374/0.1109, allocations: 1.134 MB / 462.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.1122, allocations: 364.2 kB / 463.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1122, allocations: 0 / 463.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006295/0.1129, allocations: 175.8 kB / 463.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/0.1135, allocations: 26 kB / 463.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005076/0.1186, allocations: 2.532 MB / 465.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006104/0.1192, allocations: 0.8026 MB / 466.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005266/0.1197, allocations: 105.7 kB / 466.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.1199, allocations: 87.41 kB / 466.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.12, allocations: 0 / 466.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/0.1548, allocations: 8.655 MB / 475.6 MB, free: 3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.34, allocations: 15.81 kB / 475.6 MB, free: 2.984 MB / 350.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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