Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.001089/0.001089, allocations: 113.9 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.001193/0.001193, 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.403/1.403, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2125/0.2125, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 77.62 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1446, allocations: 62.44 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003698/0.1483, allocations: 1.727 MB / 481.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1503, allocations: 0.9037 MB / 482.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.281e-05/0.1505, allocations: 0 / 482.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.1508, allocations: 31.83 kB / 482.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.151, allocations: 35.83 kB / 482.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006978/0.1517, allocations: 127.6 kB / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.152, allocations: 139.4 kB / 482.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.33e-05/0.1521, allocations: 13.45 kB / 482.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1522, allocations: 59.7 kB / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.1523, allocations: 75.67 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.1524, allocations: 4 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.1528, allocations: 207.6 kB / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.457e-05/0.1529, allocations: 39.84 kB / 483 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.812e-05/0.153, allocations: 71.48 kB / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.1534, allocations: 239.5 kB / 483.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1534, allocations: 0 / 483.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1534, allocations: 0 / 483.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.1534, allocations: 3.938 kB / 483.3 MB, free: 1.836 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007417/0.1542, allocations: 466.9 kB / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1542, allocations: 12.03 kB / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.298e-05/0.1543, allocations: 58.72 kB / 483.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.1556, allocations: 112.5 kB / 483.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.1559, allocations: 228 kB / 484.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1559, allocations: 8.375 kB / 484.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.1559, allocations: 16.36 kB / 484.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006889/0.1566, allocations: 314.6 kB / 484.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1566, allocations: 4 kB / 484.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.1567, allocations: 7.984 kB / 484.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.1568, allocations: 23.98 kB / 484.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007717/0.1576, allocations: 323.6 kB / 484.8 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.1592, allocations: 0.8341 MB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007381/0.1599, allocations: 214.3 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.1602, allocations: 80.81 kB / 485.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.1603, allocations: 12.03 kB / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.1603, allocations: 30.56 kB / 486 MB, free: 14.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.1603, allocations: 0 / 486 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.00104/0.1613, allocations: 297.5 kB / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1614, allocations: 51.5 kB / 486.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1616, allocations: 197.8 kB / 486.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.1616, allocations: 25.7 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.413e-05/0.1617, allocations: 135.6 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.1618, allocations: 43.39 kB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1619, allocations: 53.67 kB / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.162, allocations: 322.8 kB / 487.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.1623, allocations: 87.89 kB / 487.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.1627, allocations: 142.8 kB / 487.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.1633, allocations: 222.6 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1633, allocations: 0 / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007482/0.1641, allocations: 269.1 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1641, allocations: 8 kB / 487.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.1641, allocations: 4.156 kB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1642, allocations: 11.94 kB / 487.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.1646, allocations: 75.92 kB / 487.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.1657, allocations: 1.785 MB / 489.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.166, allocations: 27.8 kB / 489.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.166, allocations: 11.98 kB / 489.7 MB, free: 11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.1662, allocations: 138.3 kB / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.1662, allocations: 19.75 kB / 489.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008043/0.167, allocations: 270.8 kB / 490.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.167, allocations: 0 / 490.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1671, allocations: 0 / 490.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1671, allocations: 0 / 490.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.1674, allocations: 257.5 kB / 490.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1674, allocations: 4 kB / 490.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/0.1678, allocations: 71.81 kB / 490.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1678, allocations: 0 / 490.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.1678, allocations: 15.97 kB / 490.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009669/0.1688, allocations: 1.778 MB / 492.2 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1688, allocations: 0 / 492.2 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007413/0.1695, allocations: 323 kB / 492.6 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.1696, allocations: 85.2 kB / 492.6 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.1697, allocations: 4 kB / 492.6 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.1699, allocations: 11.98 kB / 492.7 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.17, allocations: 19.91 kB / 492.7 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.17, allocations: 7.984 kB / 492.7 MB, free: 7.855 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1701, allocations: 137.8 kB / 492.8 MB, free: 7.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1701, allocations: 0 / 492.8 MB, free: 7.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000374/0.1705, allocations: 67.83 kB / 492.9 MB, free: 7.656 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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001186/0.1717, allocations: 0.8725 MB / 493.8 MB, free: 6.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008706/0.1726, allocations: 243.6 kB / 494 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1726, allocations: 0 / 494 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.1731, allocations: 135.8 kB / 494.1 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.1734, allocations: 11.69 kB / 494.1 MB, free: 6.379 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/0.1771, allocations: 2.398 MB / 496.5 MB, free: 3.863 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.1775, allocations: 0.7397 MB / 497.3 MB, free: 3.098 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002326/0.1778, allocations: 65.36 kB / 497.3 MB, free: 3.035 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.1779, allocations: 51.39 kB / 497.4 MB, free: 2.984 MB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1779, allocations: 0 / 497.4 MB, free: 2.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.1954, allocations: 4.631 MB / 0.4903 GB, free: 14.6 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002873/0.1957, allocations: 287 kB / 0.4905 GB, free: 14.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.098, allocations: 3.375 kB / 0.4905 GB, free: 14.22 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches