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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001057, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.199/0.199, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 73.84 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1027, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003714/0.1064, allocations: 1.838 MB / 482 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.1095, allocations: 1.699 MB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1096, allocations: 4 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.1099, allocations: 39.75 kB / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.1103, allocations: 91.5 kB / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.1113, allocations: 402.7 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.1116, allocations: 238.8 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.768e-05/0.1117, allocations: 32.39 kB / 484.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.112, allocations: 111.4 kB / 484.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.1123, allocations: 119.4 kB / 484.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.1123, allocations: 8 kB / 484.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.1135, allocations: 0.7173 MB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.1136, allocations: 71.62 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.1138, allocations: 111.2 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008905/0.1147, allocations: 0.6273 MB / 486.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1147, allocations: 0 / 486.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1147, allocations: 0 / 486.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1147, allocations: 0 / 486.2 MB, free: 15.03 MB / 366.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.001003/0.1157, allocations: 0.6201 MB / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1158, allocations: 12.03 kB / 486.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.188e-05/0.1159, allocations: 70.7 kB / 486.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/0.1159, allocations: 36.56 kB / 487 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.1162, allocations: 239.1 kB / 487.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.1162, allocations: 20.56 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.1163, allocations: 27.98 kB / 487.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/0.117, allocations: 471.2 kB / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.117, allocations: 0 / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.1171, allocations: 8 kB / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.174e-05/0.1171, allocations: 44.97 kB / 487.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007988/0.118, allocations: 0.5504 MB / 488.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.1198, allocations: 1.319 MB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.1203, allocations: 277 kB / 489.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.1205, allocations: 104.8 kB / 490 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.1205, allocations: 7.938 kB / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1205, allocations: 42.55 kB / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.854e-06/0.1205, allocations: 0 / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0006993/0.1213, allocations: 329.2 kB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.1213, allocations: 59.41 kB / 490.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.1214, allocations: 145.2 kB / 490.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1214, allocations: 29.7 kB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.1216, allocations: 191.8 kB / 490.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/0.1216, allocations: 91.12 kB / 490.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.725e-05/0.1217, allocations: 61.7 kB / 490.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1218, allocations: 330.8 kB / 491.3 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.1221, allocations: 99.72 kB / 491.4 MB, free: 9.605 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.1223, allocations: 178 kB / 491.5 MB, free: 9.395 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.1228, allocations: 286 kB / 491.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1228, allocations: 0 / 491.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005858/0.1234, allocations: 333.9 kB / 492.1 MB, free: 8.746 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1234, allocations: 4 kB / 492.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1235, allocations: 8 kB / 492.2 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.1235, allocations: 4 kB / 492.2 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.124, allocations: 119.9 kB / 492.3 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.1252, allocations: 2.356 MB / 494.6 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.1254, allocations: 47.7 kB / 494.7 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.1254, allocations: 12 kB / 494.7 MB, free: 6.105 MB / 366.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.0001785/0.1256, allocations: 169.7 kB / 494.9 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.1257, allocations: 11.91 kB / 494.9 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007526/0.1264, allocations: 374.3 kB / 495.2 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1264, allocations: 4 kB / 495.2 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1265, allocations: 4 kB / 495.2 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.1265, allocations: 7.922 kB / 495.2 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.1269, allocations: 337.3 kB / 495.6 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1269, allocations: 0 / 495.6 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/0.1273, allocations: 103.9 kB / 495.7 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.1273, allocations: 4 kB / 495.7 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.1273, allocations: 12 kB / 495.7 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.1284, allocations: 2.364 MB / 498.1 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1284, allocations: 0 / 498.1 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000549/0.129, allocations: 371.2 kB / 498.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.129, allocations: 88.95 kB / 498.5 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.1291, allocations: 8 kB / 498.5 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.1292, allocations: 11.98 kB / 498.5 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.1293, allocations: 28.06 kB / 498.6 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1293, allocations: 4 kB / 498.6 MB, free: 2.043 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.236e-05/0.1294, allocations: 107.2 kB / 498.7 MB, free: 1.938 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1294, allocations: 0 / 498.7 MB, free: 1.938 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005375/0.1299, allocations: 175.5 kB / 498.8 MB, free: 1.766 MB / 366.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.001118/0.1311, allocations: 1.033 MB / 499.9 MB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007851/0.1319, allocations: 355.8 kB / 0.4885 GB, free: 368 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1319, allocations: 0 / 0.4885 GB, free: 368 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004166/0.1323, allocations: 180.5 kB / 0.4887 GB, free: 188 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.1327, allocations: 18.94 kB / 0.4887 GB, free: 172 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.1358, allocations: 2.526 MB / 0.4911 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.1361, allocations: 0.7986 MB / 0.4919 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002968/0.1364, allocations: 109.7 kB / 0.492 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.1366, allocations: 87.41 kB / 0.4921 GB, free: 12.48 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1366, allocations: 0 / 0.4921 GB, free: 12.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.1616, allocations: 6.965 MB / 0.4989 GB, free: 5.719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.86, allocations: 14.83 kB / 0.4989 GB, free: 5.707 MB / 382.1 MB (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 --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) 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.0.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) Reference file matches