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.001106/0.001106, allocations: 109.2 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2574/0.2574, allocations: 46.12 MB / 343.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 76.28 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1263, allocations: 62.45 MB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.00332/0.1296, allocations: 1.901 MB / 481.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00422/0.1339, allocations: 2.987 MB / 484.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.925e-05/0.134, allocations: 0 / 484.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.1343, allocations: 47.81 kB / 484.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.1347, allocations: 71.64 kB / 484.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.1362, allocations: 0.6426 MB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.1366, allocations: 306.7 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.143e-05/0.1367, allocations: 28.39 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.137, allocations: 95.53 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.1372, allocations: 127.3 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.1373, allocations: 8 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.1393, allocations: 1.224 MB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.1394, allocations: 71.67 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.1395, allocations: 111.2 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.1413, allocations: 0.9235 MB / 487.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1413, allocations: 0 / 487.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1413, allocations: 0 / 487.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1413, allocations: 0 / 487.9 MB, free: 13.07 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.001215/0.1425, allocations: 0.6786 MB / 488.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1426, allocations: 8.031 kB / 488.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.653e-05/0.1427, allocations: 74.7 kB / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.789e-05/0.1428, allocations: 32.56 kB / 488.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.1431, allocations: 243.1 kB / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.1431, allocations: 16.55 kB / 489 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.1432, allocations: 24 kB / 489 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007936/0.144, allocations: 475.2 kB / 489.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.144, allocations: 0 / 489.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.144, allocations: 16 kB / 489.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.497e-05/0.1441, allocations: 44.97 kB / 489.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008615/0.145, allocations: 0.5504 MB / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.147, allocations: 1.311 MB / 491.4 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005462/0.1476, allocations: 274.4 kB / 491.7 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.1478, allocations: 100.8 kB / 491.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.192e-05/0.1478, allocations: 12.31 kB / 491.8 MB, free: 9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1479, allocations: 34.56 kB / 491.8 MB, free: 8.957 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.716e-06/0.1479, allocations: 0 / 491.8 MB, free: 8.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.000764/0.1486, allocations: 337.1 kB / 492.1 MB, free: 8.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.1487, allocations: 59.41 kB / 492.2 MB, free: 8.551 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1488, allocations: 141.1 kB / 492.3 MB, free: 8.402 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1489, allocations: 25.7 kB / 492.4 MB, free: 8.371 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.149, allocations: 199.7 kB / 492.5 MB, free: 8.172 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.1491, allocations: 86.75 kB / 492.6 MB, free: 8.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.1492, allocations: 69.69 kB / 492.7 MB, free: 8.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1493, allocations: 326.8 kB / 493 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.1495, allocations: 91.78 kB / 493.1 MB, free: 7.594 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.1498, allocations: 183 kB / 493.3 MB, free: 7.379 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004575/0.1503, allocations: 286 kB / 493.6 MB, free: 7.062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1503, allocations: 0 / 493.6 MB, free: 7.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005942/0.1509, allocations: 329.8 kB / 493.9 MB, free: 6.734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1509, allocations: 4 kB / 493.9 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1509, allocations: 7.938 kB / 493.9 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1509, allocations: 4 kB / 493.9 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.1514, allocations: 124.2 kB / 494 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.1527, allocations: 2.368 MB / 496.4 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.1529, allocations: 39.61 kB / 496.4 MB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.153, allocations: 16 kB / 496.4 MB, free: 4.082 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.0002028/0.1532, allocations: 169.7 kB / 496.6 MB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.1532, allocations: 11.91 kB / 496.6 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007912/0.154, allocations: 366.4 kB / 497 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.154, allocations: 4 kB / 497 MB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1541, allocations: 3.938 kB / 497 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1541, allocations: 3.938 kB / 497 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/0.1545, allocations: 341.3 kB / 497.3 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1545, allocations: 0 / 497.3 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/0.1549, allocations: 108 kB / 497.4 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1549, allocations: 0 / 497.4 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.155, allocations: 15.98 kB / 497.4 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.1561, allocations: 2.36 MB / 499.8 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1561, allocations: 0 / 499.8 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.1567, allocations: 372.4 kB / 0.4884 GB, free: 188 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.1568, allocations: 93.08 kB / 0.4885 GB, free: 76 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.1568, allocations: 12 kB / 0.4885 GB, free: 64 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.157, allocations: 11.98 kB / 0.4886 GB, free: 52 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.157, allocations: 23.92 kB / 0.4886 GB, free: 28 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.1571, allocations: 15.98 kB / 0.4886 GB, free: 12 kB / 366.1 MB Notification: Performance of sorting global known variables: time 7.315e-05/0.1572, allocations: 95.31 kB / 0.4887 GB, free: 15.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1572, allocations: 0 / 0.4887 GB, free: 15.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007093/0.1579, allocations: 251.3 kB / 0.4889 GB, free: 15.67 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.001619/0.1595, allocations: 1.153 MB / 0.4901 GB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007606/0.1603, allocations: 303.8 kB / 0.4903 GB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1603, allocations: 0 / 0.4903 GB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004382/0.1607, allocations: 180.5 kB / 0.4905 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.1611, allocations: 20 kB / 0.4905 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.1644, allocations: 2.69 MB / 0.4932 GB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.1648, allocations: 0.7987 MB / 0.4939 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003118/0.1651, allocations: 101.7 kB / 0.494 GB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.1653, allocations: 91.39 kB / 0.4941 GB, free: 10.15 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1653, allocations: 0 / 0.4941 GB, free: 10.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.187, allocations: 8.507 MB / 0.5024 GB, free: 1.863 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/0.1873, allocations: 293 kB / 0.5027 GB, free: 1.477 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.261, allocations: 3.938 kB / 0.5027 GB, free: 1.473 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