Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.0009287/0.0009289, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 185.6 kB / 16.92 MB, free: 6.934 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.434/1.434, allocations: 205.4 MB / 223.1 MB, free: 5.496 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.3332/0.3332, allocations: 43.58 MB / 315 MB, free: 9.094 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.0004834/0.0004834, allocations: 12.56 kB / 384.7 MB, free: 7.754 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1108, allocations: 58.87 MB / 443.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.002164/0.113, allocations: 1.887 MB / 445.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003956/0.117, allocations: 3.285 MB / 448.7 MB, free: 7.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.697e-05/0.1171, allocations: 4 kB / 448.7 MB, free: 7.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.1174, allocations: 91.48 kB / 448.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.1177, allocations: 131.3 kB / 449 MB, free: 7.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.119, allocations: 0.7867 MB / 449.8 MB, free: 6.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005307/0.1195, allocations: 0.645 MB / 450.4 MB, free: 5.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.1196, allocations: 81.72 kB / 450.5 MB, free: 5.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.1199, allocations: 222.6 kB / 450.7 MB, free: 5.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.1202, allocations: 290.5 kB / 451 MB, free: 5.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.1202, allocations: 16 kB / 451 MB, free: 5.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.1223, allocations: 1.938 MB / 452.9 MB, free: 3.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.1224, allocations: 143.2 kB / 453.1 MB, free: 3.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.1226, allocations: 299.7 kB / 453.4 MB, free: 2.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.1243, allocations: 1.655 MB / 455 MB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1243, allocations: 4 kB / 455 MB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1244, allocations: 0 / 455 MB, free: 1.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1244, allocations: 0 / 455 MB, free: 1.273 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001383/0.1258, allocations: 0.9014 MB / 455.9 MB, free: 332 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1258, allocations: 12.03 kB / 455.9 MB, free: 320 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.126, allocations: 148.1 kB / 456.1 MB, free: 164 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.1261, allocations: 72 kB / 456.2 MB, free: 92 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1718/0.2979, allocations: 355 kB / 456.5 MB, free: 46.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/0.298, allocations: 55.12 kB / 456.6 MB, free: 46.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.2981, allocations: 79.86 kB / 456.6 MB, free: 46.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.2996, allocations: 1.229 MB / 457.9 MB, free: 46.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.2996, allocations: 0 / 457.9 MB, free: 46.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.897e-05/0.2997, allocations: 34.16 kB / 457.9 MB, free: 46.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-05/0.2998, allocations: 81.31 kB / 458 MB, free: 46.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.3018, allocations: 1.734 MB / 459.7 MB, free: 46.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003319/0.3051, allocations: 2.913 MB / 462.6 MB, free: 45.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007472/0.3059, allocations: 432.1 kB / 463 MB, free: 45.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.3061, allocations: 155.1 kB / 463.2 MB, free: 45.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/0.3062, allocations: 12.98 kB / 463.2 MB, free: 45.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.3062, allocations: 37.06 kB / 463.2 MB, free: 45.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.024e-06/0.3062, allocations: 0 / 463.2 MB, free: 45.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008814/0.3071, allocations: 0.4902 MB / 463.7 MB, free: 45.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.3071, allocations: 64.97 kB / 463.8 MB, free: 45.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.3073, allocations: 210.2 kB / 464 MB, free: 45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3073, allocations: 28.89 kB / 464 MB, free: 44.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.3074, allocations: 389.5 kB / 464.4 MB, free: 44.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/0.3075, allocations: 126 kB / 464.5 MB, free: 44.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.3076, allocations: 62.73 kB / 464.6 MB, free: 44.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.501e-05/0.3076, allocations: 329.1 kB / 464.9 MB, free: 44.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.3078, allocations: 159.3 kB / 465.1 MB, free: 44.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.3081, allocations: 350.6 kB / 465.4 MB, free: 44.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005478/0.3087, allocations: 0.5438 MB / 466 MB, free: 43.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3087, allocations: 2.969 kB / 466 MB, free: 43.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007354/0.3094, allocations: 0.5506 MB / 466.5 MB, free: 43.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3095, allocations: 8.812 kB / 466.5 MB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.3095, allocations: 6.156 kB / 466.5 MB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.3095, allocations: 9.219 kB / 466.5 MB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/0.3101, allocations: 217.8 kB / 466.7 MB, free: 43.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008467/0.311, allocations: 3.001 MB / 469.7 MB, free: 40.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.3113, allocations: 61.22 kB / 469.8 MB, free: 40.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.3113, allocations: 32.77 kB / 469.8 MB, free: 40.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000256/0.3116, allocations: 269.4 kB / 470.1 MB, free: 40.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.3116, allocations: 27.08 kB / 470.1 MB, free: 40.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.3127, allocations: 0.5598 MB / 470.7 MB, free: 40.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3127, allocations: 2.969 kB / 470.7 MB, free: 40.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3127, allocations: 10.75 kB / 470.7 MB, free: 40.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3127, allocations: 3.234 kB / 470.7 MB, free: 40.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.314, allocations: 1.159 MB / 471.9 MB, free: 39.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.314, allocations: 3.344 kB / 471.9 MB, free: 39.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005135/0.3145, allocations: 176.9 kB / 472 MB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3146, allocations: 6.453 kB / 472 MB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.3146, allocations: 17.91 kB / 472.1 MB, free: 39.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007198/0.3153, allocations: 2.974 MB / 475 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3153, allocations: 2.969 kB / 475 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005225/0.3159, allocations: 0.5068 MB / 475.5 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.3159, allocations: 106.4 kB / 475.7 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.3159, allocations: 13.53 kB / 475.7 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.3161, allocations: 20.72 kB / 475.7 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.3162, allocations: 33.09 kB / 475.7 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.3162, allocations: 24.25 kB / 475.7 MB, free: 36.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.594e-05/0.3163, allocations: 130.1 kB / 475.9 MB, free: 36.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3163, allocations: 0 / 475.9 MB, free: 36.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007978/0.3171, allocations: 355.9 kB / 476.2 MB, free: 36.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001145/0.3183, allocations: 1.286 MB / 477.5 MB, free: 35.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008678/0.3191, allocations: 488.9 kB / 478 MB, free: 35.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3191, allocations: 1.203 kB / 478 MB, free: 35.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004888/0.3196, allocations: 268.1 kB / 478.2 MB, free: 35.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.32, allocations: 31.16 kB / 478.3 MB, free: 35.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003767/0.3238, allocations: 4.332 MB / 482.6 MB, free: 32.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.3241, allocations: 0.9831 MB / 483.6 MB, free: 31.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004555/0.3246, allocations: 168.9 kB / 483.8 MB, free: 31.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.3248, allocations: 203.6 kB / 484 MB, free: 31.38 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3248, allocations: 7.938 kB / 484 MB, free: 31.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.3497, allocations: 11.93 MB / 495.9 MB, free: 30.29 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.3499, allocations: 294.3 kB / 496.2 MB, free: 29.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.314, allocations: 0 / 496.2 MB, free: 29.91 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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/Channel/dp_internalFlowOverall_DPMFLOW/dp_internalFlowOverall_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches