Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.001371/0.001371, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001595/0.001595, allocations: 209.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.377/1.377, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 46.12 MB / 343.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 77.03 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1275, allocations: 62.43 MB / 479.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003299/0.1308, allocations: 1.909 MB / 481.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.133, allocations: 1.379 MB / 482.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.133, allocations: 0 / 482.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.1333, allocations: 51.73 kB / 482.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.1336, allocations: 79.56 kB / 482.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.134, allocations: 195.4 kB / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.1344, allocations: 449.7 kB / 483.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.839e-05/0.1345, allocations: 48.72 kB / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.1348, allocations: 147.2 kB / 483.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.135, allocations: 183 kB / 483.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.1351, allocations: 12 kB / 483.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006719/0.1357, allocations: 459 kB / 484.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.1359, allocations: 131.4 kB / 484.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.1361, allocations: 190.6 kB / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007496/0.1369, allocations: 0.6113 MB / 485.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1369, allocations: 0 / 485.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1369, allocations: 0 / 485.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.1369, allocations: 0 / 485.2 MB, free: 15.76 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001179/0.1381, allocations: 0.776 MB / 486 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.1381, allocations: 8.875 kB / 486 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.1383, allocations: 102.7 kB / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.909e-05/0.1384, allocations: 52.28 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.1388, allocations: 323.4 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.1388, allocations: 37.38 kB / 486.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.1389, allocations: 43.94 kB / 486.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.1399, allocations: 0.6914 MB / 487.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.14, allocations: 0 / 487.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.14, allocations: 16 kB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.92e-05/0.1401, allocations: 61.27 kB / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.1412, allocations: 0.7195 MB / 488 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002527/0.1437, allocations: 1.712 MB / 489.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.1444, allocations: 361.2 kB / 490.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.1446, allocations: 153.1 kB / 490.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/0.1447, allocations: 12.22 kB / 490.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1447, allocations: 34.8 kB / 490.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.053e-06/0.1447, allocations: 0 / 490.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.001025/0.1458, allocations: 488.2 kB / 490.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.1458, allocations: 59.41 kB / 490.8 MB, free: 9.875 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.1463, allocations: 461.4 kB / 491.3 MB, free: 9.418 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.1464, allocations: 29.7 kB / 491.3 MB, free: 9.383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.1466, allocations: 263.5 kB / 491.6 MB, free: 9.121 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.974e-05/0.1467, allocations: 98.58 kB / 491.7 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1468, allocations: 81.67 kB / 491.7 MB, free: 8.938 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.147, allocations: 350.8 kB / 492.1 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.1473, allocations: 143.8 kB / 492.2 MB, free: 8.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.1477, allocations: 253.2 kB / 492.5 MB, free: 8.148 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/0.1483, allocations: 432.1 kB / 492.9 MB, free: 7.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.1484, allocations: 7.938 kB / 492.9 MB, free: 7.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008397/0.1492, allocations: 484.9 kB / 493.4 MB, free: 7.191 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1492, allocations: 4 kB / 493.4 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.1492, allocations: 4 kB / 493.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.1493, allocations: 8 kB / 493.4 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.1499, allocations: 159.8 kB / 493.5 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.1519, allocations: 3.606 MB / 497.1 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.1523, allocations: 67.27 kB / 497.2 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.1523, allocations: 23.94 kB / 497.2 MB, free: 3.184 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002898/0.1526, allocations: 209.7 kB / 497.4 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.782e-05/0.1527, allocations: 43.75 kB / 497.5 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.1538, allocations: 0.5363 MB / 498 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1538, allocations: 4 kB / 498 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1538, allocations: 0 / 498 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1539, allocations: 7.984 kB / 498 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005869/0.1545, allocations: 453.1 kB / 498.5 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1545, allocations: 4 kB / 498.5 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/0.155, allocations: 139.9 kB / 498.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.155, allocations: 4 kB / 498.6 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.1551, allocations: 15.94 kB / 498.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/0.1573, allocations: 3.61 MB / 0.4905 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1573, allocations: 0 / 0.4905 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.1584, allocations: 0.6599 MB / 0.4911 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.1587, allocations: 156.5 kB / 0.4913 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/0.1587, allocations: 4 kB / 0.4913 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.1589, allocations: 15.92 kB / 0.4913 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/0.159, allocations: 31.91 kB / 0.4913 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.1591, allocations: 12 kB / 0.4913 GB, free: 13.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000423/0.1595, allocations: 351.1 kB / 0.4917 GB, free: 12.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1595, allocations: 0 / 0.4917 GB, free: 12.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006445/0.1602, allocations: 167.7 kB / 0.4918 GB, free: 12.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001603/0.1618, allocations: 1.267 MB / 0.4931 GB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.1628, allocations: 444.2 kB / 0.4935 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1629, allocations: 0 / 0.4935 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006325/0.1635, allocations: 255.7 kB / 0.4937 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.164, allocations: 37.5 kB / 0.4938 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006529/0.1705, allocations: 5.154 MB / 0.4988 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.1711, allocations: 0.9015 MB / 0.4997 GB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003802/0.1715, allocations: 143 kB / 0.4998 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.1717, allocations: 163.4 kB / 0.5 GB, free: 3.988 MB / 382.1 MB Notification: Performance of SimCode: time 1.021e-06/0.1717, allocations: 0 / 0.5 GB, free: 3.988 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2329/0.4046, allocations: 10.61 MB / 0.5103 GB, free: 42.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/0.4048, allocations: 300.1 kB / 0.5106 GB, free: 41.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/2.526, allocations: 0 / 0.5106 GB, free: 41.79 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches