Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.005618/0.005618, allocations: 101.1 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 190.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.1 MB / 222.6 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3482/0.3482, allocations: 43.5 MB / 313.5 MB, free: 8.293 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 67.89 kB / 382.2 MB, free: 8.379 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1209, allocations: 57.78 MB / 439.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003282/0.1243, allocations: 1.878 MB / 441.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1255, allocations: 0.6543 MB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.902e-05/0.1256, allocations: 4 kB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.126, allocations: 43.8 kB / 442.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.1262, allocations: 67.58 kB / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.1265, allocations: 99.69 kB / 442.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.1268, allocations: 302.7 kB / 443 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.156e-05/0.1269, allocations: 32.27 kB / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.127, allocations: 79.55 kB / 443.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.1272, allocations: 111.4 kB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.1272, allocations: 8 kB / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003757/0.1276, allocations: 219.8 kB / 443.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.1277, allocations: 55.69 kB / 443.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.1278, allocations: 95.34 kB / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.1282, allocations: 323.1 kB / 443.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1282, allocations: 0 / 443.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1282, allocations: 0 / 443.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1283, allocations: 4 kB / 443.9 MB, free: 10.52 MB / 382.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.0006813/0.129, allocations: 0.5304 MB / 444.4 MB, free: 9.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.129, allocations: 8.031 kB / 444.4 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.951e-05/0.1291, allocations: 66.72 kB / 444.5 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/0.1309, allocations: 204.2 kB / 444.7 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.1312, allocations: 271.9 kB / 445 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.1313, allocations: 20.92 kB / 445 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.1313, allocations: 20.38 kB / 445 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009142/0.1322, allocations: 0.5006 MB / 445.5 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1323, allocations: 0 / 445.5 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.1323, allocations: 11.92 kB / 445.5 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/0.1324, allocations: 36.55 kB / 445.5 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.1335, allocations: 0.5759 MB / 446.1 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.1357, allocations: 1.173 MB / 447.3 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/0.1364, allocations: 170.4 kB / 447.5 MB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.1367, allocations: 88.75 kB / 447.5 MB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.1367, allocations: 4.141 kB / 447.5 MB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1368, allocations: 38.5 kB / 447.6 MB, free: 6.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.1368, allocations: 0 / 447.6 MB, free: 6.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001171/0.138, allocations: 297.2 kB / 447.9 MB, free: 6.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.138, allocations: 55.39 kB / 447.9 MB, free: 6.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.1383, allocations: 274.6 kB / 448.2 MB, free: 5.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.1383, allocations: 29.7 kB / 448.2 MB, free: 5.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1384, allocations: 167.5 kB / 448.4 MB, free: 5.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.1384, allocations: 23.56 kB / 448.4 MB, free: 5.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/0.1385, allocations: 37.69 kB / 448.5 MB, free: 5.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1387, allocations: 338.8 kB / 448.8 MB, free: 5.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.139, allocations: 87.84 kB / 448.9 MB, free: 5.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.1394, allocations: 131.3 kB / 449 MB, free: 5.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006895/0.1401, allocations: 219.1 kB / 449.2 MB, free: 4.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1401, allocations: 0 / 449.2 MB, free: 4.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000817/0.1409, allocations: 261.2 kB / 449.5 MB, free: 4.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.141, allocations: 7.938 kB / 449.5 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.141, allocations: 4.312 kB / 449.5 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.141, allocations: 0 / 449.5 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006152/0.1471, allocations: 471.4 kB / 449.9 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002706/0.1499, allocations: 1.945 MB / 451.9 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.1503, allocations: 39.69 kB / 451.9 MB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.1503, allocations: 19.97 kB / 451.9 MB, free: 2.09 MB / 382.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.0002412/0.1506, allocations: 161.7 kB / 452.1 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.649e-05/0.1506, allocations: 19.81 kB / 452.1 MB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.741e-05/0.1507, allocations: 25.7 kB / 452.1 MB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1507, allocations: 0 / 452.1 MB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1508, allocations: 0 / 452.1 MB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1508, allocations: 0 / 452.1 MB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.1512, allocations: 297.3 kB / 452.4 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1512, allocations: 0 / 452.4 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005781/0.157, allocations: 459.3 kB / 452.9 MB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.157, allocations: 0 / 452.9 MB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.157, allocations: 3.984 kB / 452.9 MB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1871/0.3441, allocations: 1.934 MB / 454.8 MB, free: 48.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.3442, allocations: 5.516 kB / 454.8 MB, free: 48.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007726/0.3449, allocations: 322.8 kB / 455.1 MB, free: 48.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.345, allocations: 97.84 kB / 455.2 MB, free: 48.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.3451, allocations: 3.969 kB / 455.2 MB, free: 48.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.3454, allocations: 20.38 kB / 455.3 MB, free: 48.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/0.3455, allocations: 12.56 kB / 455.3 MB, free: 48.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.3456, allocations: 5.891 kB / 455.3 MB, free: 48.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.3457, allocations: 209.4 kB / 455.5 MB, free: 48.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3457, allocations: 3 kB / 455.5 MB, free: 48.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003549/0.3461, allocations: 67.91 kB / 455.6 MB, free: 48.03 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 (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.0009844/0.3471, allocations: 0.8598 MB / 456.4 MB, free: 47.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006152/0.3533, allocations: 0.5921 MB / 457 MB, free: 47.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3533, allocations: 1.688 kB / 457 MB, free: 47.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005492/0.3588, allocations: 499.7 kB / 457.5 MB, free: 47.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.3593, allocations: 48.28 kB / 457.5 MB, free: 47.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/0.3636, allocations: 3.046 MB / 460.6 MB, free: 45.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.3639, allocations: 0.7705 MB / 461.4 MB, free: 45.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.3641, allocations: 62.95 kB / 461.4 MB, free: 45.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.3642, allocations: 67.08 kB / 461.5 MB, free: 45.27 MB / 382.1 MB Notification: Performance of SimCode: time 1.363e-06/0.3642, allocations: 2.656 kB / 461.5 MB, free: 45.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.384, allocations: 7.456 MB / 468.9 MB, free: 44.59 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/0.3843, allocations: 307 kB / 469.2 MB, free: 44.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.279, allocations: 0 / 469.2 MB, free: 44.2 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches