Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001125/0.001125, allocations: 117.4 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2361/0.2361, allocations: 46.09 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 76.94 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1172, allocations: 62.45 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003322/0.1205, allocations: 1.887 MB / 481.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004085/0.1246, allocations: 2.941 MB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.1248, allocations: 0 / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.1251, allocations: 47.73 kB / 484.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.1254, allocations: 71.66 kB / 484.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.1272, allocations: 0.6576 MB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.1275, allocations: 246.8 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.263e-05/0.1276, allocations: 28.39 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.1279, allocations: 107.5 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.1281, allocations: 127.4 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.1281, allocations: 8 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.1298, allocations: 1.236 MB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.609e-05/0.1299, allocations: 71.67 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.13, allocations: 111.2 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001772/0.1318, allocations: 0.9235 MB / 488.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1318, allocations: 0 / 488.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1318, allocations: 4 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.1318, allocations: 0 / 488.1 MB, free: 13.02 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.001234/0.1331, allocations: 0.6824 MB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1331, allocations: 8.031 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.836e-05/0.1332, allocations: 70.72 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.524e-05/0.1333, allocations: 32.56 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.1335, allocations: 239.1 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.1336, allocations: 20.55 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.1336, allocations: 28 kB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006725/0.1343, allocations: 467.3 kB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1343, allocations: 4 kB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.1343, allocations: 11.98 kB / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.928e-05/0.1344, allocations: 48.91 kB / 489.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007882/0.1352, allocations: 0.5504 MB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.137, allocations: 1.303 MB / 491.5 MB, free: 9.355 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/0.1375, allocations: 278.4 kB / 491.8 MB, free: 9.074 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.1378, allocations: 100.8 kB / 491.9 MB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-05/0.1378, allocations: 11.92 kB / 491.9 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.1378, allocations: 42.5 kB / 491.9 MB, free: 8.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.1378, allocations: 0 / 491.9 MB, free: 8.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007144/0.1386, allocations: 329.2 kB / 492.3 MB, free: 8.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.1386, allocations: 59.39 kB / 492.3 MB, free: 8.512 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.1387, allocations: 138 kB / 492.5 MB, free: 8.363 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1388, allocations: 29.7 kB / 492.5 MB, free: 8.328 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.935e-05/0.1389, allocations: 196.2 kB / 492.7 MB, free: 8.133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.45e-05/0.1389, allocations: 90.73 kB / 492.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-05/0.139, allocations: 69.69 kB / 492.8 MB, free: 7.969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1392, allocations: 322.8 kB / 493.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.1394, allocations: 91.78 kB / 493.2 MB, free: 7.555 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.1396, allocations: 182 kB / 493.4 MB, free: 7.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004486/0.1401, allocations: 290 kB / 493.7 MB, free: 7.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1401, allocations: 0 / 493.7 MB, free: 7.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005901/0.1407, allocations: 325.8 kB / 494 MB, free: 6.695 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1407, allocations: 11 kB / 494 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1407, allocations: 4 kB / 494 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1407, allocations: 7.938 kB / 494 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.1412, allocations: 123.8 kB / 494.2 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.1424, allocations: 2.368 MB / 496.5 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.1426, allocations: 35.62 kB / 496.6 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.1426, allocations: 19.98 kB / 496.6 MB, free: 4.039 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.000158/0.1428, allocations: 165.9 kB / 496.7 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.1428, allocations: 15.89 kB / 496.8 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007536/0.1436, allocations: 362.4 kB / 497.1 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.1436, allocations: 4 kB / 497.1 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1436, allocations: 0 / 497.1 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1436, allocations: 3.938 kB / 497.1 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.1441, allocations: 337.3 kB / 497.5 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.1441, allocations: 11.98 kB / 497.5 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.1445, allocations: 103.9 kB / 497.6 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1445, allocations: 0 / 497.6 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.1446, allocations: 11.98 kB / 497.6 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.1457, allocations: 2.363 MB / 499.9 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1458, allocations: 0 / 499.9 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005605/0.1463, allocations: 372.7 kB / 0.4886 GB, free: 148 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.1464, allocations: 96.88 kB / 0.4887 GB, free: 32 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.1464, allocations: 8 kB / 0.4887 GB, free: 24 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.1466, allocations: 8 kB / 0.4887 GB, free: 16 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/0.1467, allocations: 24.02 kB / 0.4887 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.1467, allocations: 11.94 kB / 0.4887 GB, free: 15.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.814e-05/0.1468, allocations: 102.1 kB / 0.4888 GB, free: 15.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1468, allocations: 4 kB / 0.4888 GB, free: 15.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008203/0.1476, allocations: 247.4 kB / 0.4891 GB, free: 15.64 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.001639/0.1493, allocations: 1.161 MB / 0.4902 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008034/0.1501, allocations: 355.8 kB / 0.4905 GB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1501, allocations: 0.6875 kB / 0.4905 GB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000425/0.1505, allocations: 183.8 kB / 0.4907 GB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.1508, allocations: 15 kB / 0.4907 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.1543, allocations: 2.705 MB / 0.4934 GB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.1547, allocations: 0.8026 MB / 0.4941 GB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003035/0.155, allocations: 97.72 kB / 0.4942 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.1552, allocations: 87.41 kB / 0.4943 GB, free: 10.05 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1552, allocations: 0 / 0.4943 GB, free: 10.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.1794, allocations: 8.633 MB / 0.5028 GB, free: 1.656 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.1797, allocations: 289.1 kB / 0.503 GB, free: 1.273 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.23, allocations: 3.266 kB / 0.503 GB, free: 1.273 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches