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.001085/0.001085, allocations: 102.4 kB / 15.98 MB, free: 6.348 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.001103/0.001103, allocations: 194.3 kB / 16.91 MB, free: 6.191 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.357/1.357, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.3267/0.3267, allocations: 43.5 MB / 313.6 MB, free: 8.547 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.001571/0.001571, allocations: 75.89 kB / 382.4 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1142, allocations: 57.79 MB / 440.1 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.004147/0.1184, allocations: 1.871 MB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.1226, allocations: 2.887 MB / 444.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1227, allocations: 0 / 444.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.1229, allocations: 43.75 kB / 444.9 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.1233, allocations: 79.56 kB / 445 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.1253, allocations: 0.6582 MB / 445.7 MB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.1256, allocations: 246.8 kB / 445.9 MB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.407e-05/0.1257, allocations: 28.33 kB / 446 MB, free: 8.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.126, allocations: 107.5 kB / 446.1 MB, free: 8.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.1262, allocations: 127.4 kB / 446.2 MB, free: 8.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.1262, allocations: 8 kB / 446.2 MB, free: 8.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.1279, allocations: 1.201 MB / 447.4 MB, free: 7.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.048e-05/0.128, allocations: 79.66 kB / 447.5 MB, free: 7.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.1281, allocations: 111.2 kB / 447.6 MB, free: 7.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.1295, allocations: 0.9038 MB / 448.5 MB, free: 6.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1296, allocations: 4 kB / 448.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1296, allocations: 0 / 448.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1296, allocations: 0 / 448.5 MB, free: 6.215 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.001023/0.1306, allocations: 0.6669 MB / 449.1 MB, free: 5.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1307, allocations: 12.03 kB / 449.2 MB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.135e-05/0.1307, allocations: 74.7 kB / 449.2 MB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/0.1308, allocations: 28.56 kB / 449.3 MB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1311, allocations: 243.1 kB / 449.5 MB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.1311, allocations: 20.56 kB / 449.5 MB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.1311, allocations: 31.98 kB / 449.6 MB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007506/0.1319, allocations: 471.2 kB / 450 MB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1319, allocations: 0 / 450 MB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.132, allocations: 16 kB / 450 MB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.83e-05/0.132, allocations: 48.95 kB / 450.1 MB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008093/0.1328, allocations: 0.5465 MB / 450.6 MB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.1346, allocations: 1.311 MB / 451.9 MB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/0.1351, allocations: 270.4 kB / 452.2 MB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.1353, allocations: 100.8 kB / 452.3 MB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.1354, allocations: 16.25 kB / 452.3 MB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1354, allocations: 38.56 kB / 452.3 MB, free: 2.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/0.1354, allocations: 0 / 452.3 MB, free: 2.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0006847/0.1361, allocations: 333.2 kB / 452.7 MB, free: 1.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.1362, allocations: 55.41 kB / 452.7 MB, free: 1.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1363, allocations: 137.7 kB / 452.9 MB, free: 1.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1363, allocations: 33.7 kB / 452.9 MB, free: 1.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1364, allocations: 195.8 kB / 453.1 MB, free: 1.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.027e-05/0.1365, allocations: 86.75 kB / 453.2 MB, free: 1.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-05/0.1366, allocations: 65.69 kB / 453.2 MB, free: 1.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1367, allocations: 330.8 kB / 453.6 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.1369, allocations: 91.78 kB / 453.6 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.1371, allocations: 170.2 kB / 453.8 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.1376, allocations: 306.7 kB / 454.1 MB, free: 220 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1376, allocations: 0 / 454.1 MB, free: 220 kB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.1997/0.3373, allocations: 314.2 kB / 454.4 MB, free: 48.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.3374, allocations: 10.38 kB / 454.4 MB, free: 48.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3374, allocations: 3.688 kB / 454.4 MB, free: 48.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.3374, allocations: 2.844 kB / 454.4 MB, free: 48.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.3379, allocations: 119.2 kB / 454.6 MB, free: 48.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007007/0.3386, allocations: 2.361 MB / 456.9 MB, free: 46.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.3388, allocations: 36.95 kB / 456.9 MB, free: 46.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.3388, allocations: 16.52 kB / 457 MB, free: 46.29 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.0001615/0.339, allocations: 176.7 kB / 457.1 MB, free: 46.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.339, allocations: 15.5 kB / 457.2 MB, free: 46.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006777/0.3397, allocations: 369.3 kB / 457.5 MB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3397, allocations: 2.938 kB / 457.5 MB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3397, allocations: 3.719 kB / 457.5 MB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.3398, allocations: 3.422 kB / 457.5 MB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.3401, allocations: 338 kB / 457.9 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3401, allocations: 3.422 kB / 457.9 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/0.3404, allocations: 100.5 kB / 458 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3405, allocations: 3.125 kB / 458 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.3405, allocations: 14.56 kB / 458 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000595/0.3411, allocations: 2.363 MB / 460.3 MB, free: 43.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3411, allocations: 3.938 kB / 460.3 MB, free: 43.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.3415, allocations: 374.5 kB / 460.7 MB, free: 43.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.3416, allocations: 94.92 kB / 460.8 MB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.3416, allocations: 6.625 kB / 460.8 MB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.3417, allocations: 12.56 kB / 460.8 MB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.3418, allocations: 25.33 kB / 460.8 MB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3418, allocations: 10.09 kB / 460.9 MB, free: 43.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.354e-05/0.3419, allocations: 100.3 kB / 460.9 MB, free: 43.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3419, allocations: 0 / 460.9 MB, free: 43.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006572/0.3426, allocations: 231.7 kB / 461.2 MB, free: 43.28 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.001085/0.3437, allocations: 1.156 MB / 462.3 MB, free: 42.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007236/0.3444, allocations: 356.4 kB / 462.7 MB, free: 42.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3444, allocations: 0 / 462.7 MB, free: 42.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.3448, allocations: 177.8 kB / 462.9 MB, free: 42.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.3451, allocations: 25.86 kB / 462.9 MB, free: 42.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.3477, allocations: 2.68 MB / 465.6 MB, free: 40.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.3479, allocations: 0.7991 MB / 466.4 MB, free: 40.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002782/0.3482, allocations: 105.1 kB / 466.5 MB, free: 40.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.3484, allocations: 92.12 kB / 466.6 MB, free: 40.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3484, allocations: 0 / 466.6 MB, free: 40.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2778/0.6261, allocations: 8.501 MB / 475.1 MB, free: 39.29 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002885/0.6265, allocations: 301.6 kB / 475.3 MB, free: 38.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/2.921, allocations: 0 / 475.3 MB, free: 38.89 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