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.0008081/0.0008082, allocations: 95.33 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 203.2 kB / 18.28 MB, free: 5.477 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.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2227/0.2227, allocations: 46.19 MB / 345.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002632/0.0002634, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1232, allocations: 63.55 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.00226/0.1255, allocations: 1.56 MB / 484.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1268, allocations: 0.6426 MB / 485.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.261e-05/0.1269, allocations: 7.938 kB / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.1272, allocations: 43.75 kB / 485.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.1274, allocations: 67.64 kB / 485.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.1278, allocations: 95.69 kB / 485.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.1282, allocations: 302.7 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.659e-05/0.1282, allocations: 28.3 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1284, allocations: 83.53 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.1286, allocations: 111.4 kB / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.1286, allocations: 4 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003909/0.129, allocations: 223.8 kB / 486.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.886e-05/0.1291, allocations: 59.62 kB / 486.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.1292, allocations: 117.1 kB / 486.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004698/0.1297, allocations: 319.1 kB / 486.8 MB, free: 396 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1297, allocations: 0 / 486.8 MB, free: 396 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1297, allocations: 0 / 486.8 MB, free: 396 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1298, allocations: 4 kB / 486.8 MB, free: 392 kB / 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.0006902/0.1304, allocations: 499.3 kB / 487.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1305, allocations: 8.875 kB / 487.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.086e-05/0.1306, allocations: 74.64 kB / 487.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.1323, allocations: 200.2 kB / 487.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.1327, allocations: 268 kB / 487.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.1327, allocations: 16.94 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/0.1328, allocations: 24.38 kB / 487.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.1338, allocations: 0.5084 MB / 488.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1338, allocations: 0 / 488.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.1339, allocations: 4 kB / 488.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.676e-05/0.1339, allocations: 32.55 kB / 488.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.1352, allocations: 0.5915 MB / 489 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.1374, allocations: 1.169 MB / 490.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/0.1381, allocations: 178.3 kB / 490.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.1384, allocations: 92.77 kB / 490.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.1384, allocations: 0 / 490.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1385, allocations: 34.56 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1385, allocations: 0 / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001245/0.1397, allocations: 329.2 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.1398, allocations: 51.41 kB / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.1401, allocations: 282.5 kB / 491.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.1401, allocations: 29.64 kB / 491.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1402, allocations: 171.5 kB / 491.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.1402, allocations: 23.64 kB / 491.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.1403, allocations: 21.72 kB / 491.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1404, allocations: 334.8 kB / 491.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.1408, allocations: 95.84 kB / 491.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.1412, allocations: 123.3 kB / 491.9 MB, free: 11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007673/0.142, allocations: 227.1 kB / 492.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.142, allocations: 0 / 492.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008629/0.1428, allocations: 277.2 kB / 492.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1429, allocations: 4 kB / 492.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1429, allocations: 4 kB / 492.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1429, allocations: 0 / 492.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005968/0.1489, allocations: 471.3 kB / 492.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002839/0.1517, allocations: 1.941 MB / 494.8 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.1522, allocations: 51.62 kB / 494.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.1522, allocations: 12.08 kB / 494.9 MB, free: 7.949 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.0001881/0.1524, allocations: 153.7 kB / 495 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.1525, allocations: 23.72 kB / 495.1 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.678e-05/0.1525, allocations: 25.7 kB / 495.1 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1526, allocations: 4 kB / 495.1 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1526, allocations: 0 / 495.1 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1526, allocations: 0 / 495.1 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.1529, allocations: 289.4 kB / 495.4 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.153, allocations: 0 / 495.4 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005995/0.159, allocations: 467.3 kB / 495.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.159, allocations: 0 / 495.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.159, allocations: 7.984 kB / 495.8 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/0.1618, allocations: 1.945 MB / 497.8 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1618, allocations: 0 / 497.8 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000866/0.1627, allocations: 331.3 kB / 498.1 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.076e-05/0.1628, allocations: 100.9 kB / 498.2 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.1628, allocations: 3.938 kB / 498.2 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.1632, allocations: 19.97 kB / 498.2 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.1633, allocations: 15.97 kB / 498.2 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.1633, allocations: 11.92 kB / 498.3 MB, free: 4.418 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002132/0.1635, allocations: 205.9 kB / 498.5 MB, free: 4.215 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1635, allocations: 3.938 kB / 498.5 MB, free: 4.211 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003621/0.1639, allocations: 71.84 kB / 498.5 MB, free: 4.141 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.00124/0.1652, allocations: 0.8722 MB / 499.4 MB, free: 3.242 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006194/0.1714, allocations: 0.6006 MB / 0.4883 GB, free: 2.641 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.1714, allocations: 0 / 0.4883 GB, free: 2.641 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005548/0.1769, allocations: 0.4994 MB / 0.4888 GB, free: 2.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.1774, allocations: 48.03 kB / 0.4888 GB, free: 2.098 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/0.1823, allocations: 3.113 MB / 0.4919 GB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.1826, allocations: 0.7675 MB / 0.4926 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.1828, allocations: 58.03 kB / 0.4927 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.183, allocations: 67.41 kB / 0.4927 GB, free: 13.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.183, allocations: 0 / 0.4927 GB, free: 13.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.2048, allocations: 7.355 MB / 0.4999 GB, free: 6.891 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/0.2051, allocations: 304.4 kB / 0.5002 GB, free: 6.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.209, allocations: 0 / 0.5002 GB, free: 6.508 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