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.001137/0.001137, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 73.28 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1301, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003502/0.1337, allocations: 1.844 MB / 482 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.1359, allocations: 1.359 MB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.062e-05/0.136, allocations: 8 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.1363, allocations: 55.67 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.1366, allocations: 79.56 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.1371, allocations: 219.1 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004498/0.1375, allocations: 401.8 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1377, allocations: 48.72 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003198/0.138, allocations: 171 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.1383, allocations: 175.1 kB / 484.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.1383, allocations: 12 kB / 484.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000802/0.1391, allocations: 455.1 kB / 484.9 MB, free: 356 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.1393, allocations: 131.4 kB / 485.1 MB, free: 224 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.1396, allocations: 194.7 kB / 485.3 MB, free: 28 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008118/0.1404, allocations: 0.6152 MB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1404, allocations: 0 / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1404, allocations: 0 / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1404, allocations: 0 / 485.9 MB, free: 15.41 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.00122/0.1416, allocations: 0.776 MB / 486.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1417, allocations: 16.02 kB / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.1418, allocations: 98.69 kB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.1419, allocations: 52.28 kB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.1424, allocations: 315.5 kB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.1424, allocations: 41.3 kB / 487.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/0.1425, allocations: 43.94 kB / 487.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.1435, allocations: 0.6914 MB / 487.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1435, allocations: 4 kB / 487.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.1436, allocations: 16 kB / 487.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.194e-05/0.1437, allocations: 61.27 kB / 488 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.1449, allocations: 0.7234 MB / 488.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002699/0.1476, allocations: 1.712 MB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007029/0.1483, allocations: 363.3 kB / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.1486, allocations: 141.2 kB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.293e-05/0.1486, allocations: 16.22 kB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1487, allocations: 34.8 kB / 491 MB, free: 10.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.104e-06/0.1487, allocations: 0 / 491 MB, free: 10.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.001046/0.1497, allocations: 491.5 kB / 491.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.1498, allocations: 59.34 kB / 491.5 MB, free: 9.523 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.1503, allocations: 461.4 kB / 491.9 MB, free: 9.062 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.1503, allocations: 29.7 kB / 492 MB, free: 9.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.1505, allocations: 267.5 kB / 492.2 MB, free: 8.762 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.281e-05/0.1506, allocations: 94.59 kB / 492.3 MB, free: 8.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.1508, allocations: 81.67 kB / 492.4 MB, free: 8.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1509, allocations: 350.8 kB / 492.7 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.1512, allocations: 139.9 kB / 492.9 MB, free: 8.094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.1515, allocations: 253.2 kB / 493.1 MB, free: 7.797 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006922/0.1522, allocations: 429.2 kB / 493.5 MB, free: 7.328 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.1523, allocations: 3.938 kB / 493.6 MB, free: 7.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009017/0.1532, allocations: 477.6 kB / 494 MB, free: 6.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.1532, allocations: 8 kB / 494 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.1532, allocations: 4.469 kB / 494 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.1532, allocations: 8 kB / 494 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006475/0.1539, allocations: 167.8 kB / 494.2 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.1559, allocations: 3.602 MB / 497.8 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.1562, allocations: 63.27 kB / 497.9 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.026e-05/0.1563, allocations: 27.94 kB / 497.9 MB, free: 2.836 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.0002621/0.1566, allocations: 213.6 kB / 498.1 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.1566, allocations: 31.62 kB / 498.1 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.1577, allocations: 0.545 MB / 498.7 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.1578, allocations: 4 kB / 498.7 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1578, allocations: 0 / 498.7 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.1578, allocations: 7.984 kB / 498.7 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.1584, allocations: 449.1 kB / 499.1 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1584, allocations: 0 / 499.1 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/0.1589, allocations: 147.9 kB / 499.3 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.159, allocations: 3.938 kB / 499.3 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.159, allocations: 16 kB / 499.3 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.161, allocations: 3.614 MB / 0.4911 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.161, allocations: 0 / 0.4911 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.1621, allocations: 0.6519 MB / 0.4918 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.1623, allocations: 156.5 kB / 0.4919 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.1624, allocations: 8 kB / 0.4919 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.1626, allocations: 20.08 kB / 0.4919 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.1627, allocations: 27.91 kB / 0.492 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.1627, allocations: 16 kB / 0.492 GB, free: 12.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003427/0.163, allocations: 347.1 kB / 0.4923 GB, free: 12.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.163, allocations: 0 / 0.4923 GB, free: 12.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005412/0.1636, allocations: 167.6 kB / 0.4925 GB, free: 12.21 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.001503/0.1651, allocations: 1.278 MB / 0.4937 GB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.1663, allocations: 0.4927 MB / 0.4942 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1663, allocations: 0 / 0.4942 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006902/0.167, allocations: 255.8 kB / 0.4944 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.1674, allocations: 37.5 kB / 0.4945 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006058/0.1734, allocations: 4.992 MB / 0.4993 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.174, allocations: 0.8976 MB / 0.5002 GB, free: 4.039 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003719/0.1743, allocations: 143 kB / 0.5004 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.1746, allocations: 171.4 kB / 0.5005 GB, free: 3.73 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1746, allocations: 3.938 kB / 0.5005 GB, free: 3.727 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2089/0.3835, allocations: 11.02 MB / 0.5113 GB, free: 42.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.86, allocations: 7.625 kB / 0.5113 GB, free: 42.34 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 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.csv","/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