Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.001501/0.001501, allocations: 115.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.001607/0.001607, 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.425/1.425, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2051/0.2051, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 80.84 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.118, allocations: 62.45 MB / 479.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003011/0.121, allocations: 1.891 MB / 481.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1221, allocations: 0.6308 MB / 482.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.696e-05/0.1222, allocations: 4 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.1225, allocations: 39.81 kB / 482.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.1226, allocations: 71.58 kB / 482.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.123, allocations: 99.7 kB / 482.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.1233, allocations: 230.8 kB / 482.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.124e-05/0.1233, allocations: 32.23 kB / 482.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.98e-05/0.1234, allocations: 87.52 kB / 482.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.1236, allocations: 111.5 kB / 482.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1236, allocations: 8 kB / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/0.124, allocations: 223.7 kB / 483 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.124, allocations: 59.69 kB / 483.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.567e-05/0.1241, allocations: 91.36 kB / 483.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.1245, allocations: 335.1 kB / 483.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1245, allocations: 0 / 483.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1246, allocations: 4 kB / 483.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.1246, allocations: 0 / 483.5 MB, free: 1.566 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0006839/0.1253, allocations: 0.5187 MB / 484 MB, free: 1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1253, allocations: 8.031 kB / 484 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.934e-05/0.1254, allocations: 66.72 kB / 484.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.1273, allocations: 200.3 kB / 484.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.1277, allocations: 275.8 kB / 484.6 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.1277, allocations: 16.94 kB / 484.6 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.1278, allocations: 20.38 kB / 484.6 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.1288, allocations: 0.5006 MB / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1288, allocations: 4 kB / 485.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.1289, allocations: 8 kB / 485.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/0.1289, allocations: 28.55 kB / 485.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.1302, allocations: 0.5876 MB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.1325, allocations: 1.165 MB / 486.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000695/0.1332, allocations: 170.4 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.1336, allocations: 88.75 kB / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.1336, allocations: 0 / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.1336, allocations: 30.56 kB / 487.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.1336, allocations: 7.938 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001326/0.135, allocations: 297.2 kB / 487.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.135, allocations: 51.41 kB / 487.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.1354, allocations: 282.5 kB / 487.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.032e-05/0.1354, allocations: 29.7 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1356, allocations: 175.6 kB / 488 MB, free: 12.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/0.1356, allocations: 23.66 kB / 488 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.1357, allocations: 37.69 kB / 488.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1359, allocations: 342.8 kB / 488.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.1363, allocations: 83.89 kB / 488.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.1367, allocations: 126.8 kB / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000717/0.1374, allocations: 215.1 kB / 488.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1374, allocations: 0 / 488.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008739/0.1383, allocations: 261.1 kB / 489.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1383, allocations: 4 kB / 489.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.1384, allocations: 4 kB / 489.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1384, allocations: 0 / 489.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006172/0.1445, allocations: 471.4 kB / 489.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.1474, allocations: 1.941 MB / 491.5 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.1478, allocations: 43.69 kB / 491.5 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.1479, allocations: 11.98 kB / 491.5 MB, free: 9.176 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0001785/0.1481, allocations: 157.8 kB / 491.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.89e-05/0.1481, allocations: 23.72 kB / 491.7 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.35e-05/0.1482, allocations: 29.7 kB / 491.7 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1482, allocations: 0 / 491.7 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1482, allocations: 0 / 491.7 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1482, allocations: 0 / 491.7 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.1486, allocations: 297.4 kB / 492 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1486, allocations: 0 / 492 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006626/0.1553, allocations: 463.3 kB / 492.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1553, allocations: 0 / 492.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.1553, allocations: 3.984 kB / 492.5 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/0.1581, allocations: 1.945 MB / 494.4 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.1581, allocations: 0 / 494.4 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008235/0.1589, allocations: 319.2 kB / 494.7 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.159, allocations: 96.81 kB / 494.8 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.1591, allocations: 0 / 494.8 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/0.1595, allocations: 23.97 kB / 494.9 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.1595, allocations: 11.97 kB / 494.9 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.1596, allocations: 11.92 kB / 494.9 MB, free: 5.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.1598, allocations: 206 kB / 495.1 MB, free: 5.457 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1598, allocations: 7.875 kB / 495.1 MB, free: 5.449 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003604/0.1602, allocations: 67.94 kB / 495.2 MB, free: 5.383 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 (7): * Single equations (assignments): 4 * 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.001194/0.1614, allocations: 0.8643 MB / 496 MB, free: 4.492 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006824/0.1682, allocations: 0.5967 MB / 496.6 MB, free: 3.895 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1682, allocations: 0 / 496.6 MB, free: 3.895 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00635/0.1746, allocations: 495.4 kB / 497.1 MB, free: 3.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.1751, allocations: 57.08 kB / 497.2 MB, free: 3.355 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004787/0.1798, allocations: 3.057 MB / 0.4885 GB, free: 208 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.1802, allocations: 0.7792 MB / 0.4893 GB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.1804, allocations: 54.05 kB / 0.4893 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.1805, allocations: 67.41 kB / 0.4894 GB, free: 15.27 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1806, allocations: 3.938 kB / 0.4894 GB, free: 15.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.2025, allocations: 7.671 MB / 0.4969 GB, free: 7.875 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003602/0.2029, allocations: 306.8 kB / 0.4972 GB, free: 7.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/2.466, allocations: 2.656 kB / 0.4972 GB, free: 7.488 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches