Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001589/0.001589, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 242.2 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2093/0.2093, allocations: 44.19 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 60.44 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1547, allocations: 60.83 MB / 469.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.005322/0.16, allocations: 1.813 MB / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.1633, allocations: 1.336 MB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.1634, allocations: 7.938 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.1638, allocations: 59.72 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.1642, allocations: 87.5 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008773/0.1651, allocations: 215.1 kB / 472.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005667/0.1657, allocations: 393.8 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.1659, allocations: 48.73 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.1662, allocations: 151.2 kB / 473.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.1666, allocations: 175 kB / 473.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.45e-05/0.1667, allocations: 12 kB / 473.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.1679, allocations: 467 kB / 474.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.1682, allocations: 135.4 kB / 474.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.1685, allocations: 186.6 kB / 474.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.1698, allocations: 0.6231 MB / 475.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1698, allocations: 4 kB / 475.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1698, allocations: 0 / 475.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.1698, allocations: 0 / 475.1 MB, free: 8.535 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001771/0.1716, allocations: 0.772 MB / 475.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.1717, allocations: 12.03 kB / 475.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/0.1718, allocations: 98.64 kB / 475.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.172, allocations: 52.28 kB / 476 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005469/0.1726, allocations: 319.5 kB / 476.3 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.1726, allocations: 33.38 kB / 476.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.582e-05/0.1727, allocations: 47.92 kB / 476.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.1742, allocations: 0.6953 MB / 477.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.1742, allocations: 4 kB / 477.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.3e-05/0.1743, allocations: 19.92 kB / 477.1 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/0.1744, allocations: 65.27 kB / 477.2 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.1762, allocations: 0.7195 MB / 477.9 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003904/0.1801, allocations: 1.704 MB / 479.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.1811, allocations: 359.3 kB / 479.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004531/0.1816, allocations: 143.1 kB / 480.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.179e-05/0.1817, allocations: 12.22 kB / 480.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1817, allocations: 30.8 kB / 480.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.975e-06/0.1817, allocations: 4 kB / 480.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001648/0.1834, allocations: 496.2 kB / 480.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.1835, allocations: 55.41 kB / 480.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007664/0.1842, allocations: 457.4 kB / 481.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.1843, allocations: 33.64 kB / 481.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.1845, allocations: 263.5 kB / 481.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.1847, allocations: 98.58 kB / 481.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.1848, allocations: 85.69 kB / 481.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.185, allocations: 350.8 kB / 481.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/0.1855, allocations: 139.9 kB / 482.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.186, allocations: 258.3 kB / 482.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.187, allocations: 425.5 kB / 482.7 MB, free: 472 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.1871, allocations: 3.938 kB / 482.7 MB, free: 468 kB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001322/0.1884, allocations: 480.6 kB / 483.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.1884, allocations: 7.938 kB / 483.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.1885, allocations: 4 kB / 483.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/0.1885, allocations: 8 kB / 483.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009635/0.1895, allocations: 160.3 kB / 483.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/0.192, allocations: 3.606 MB / 487 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/0.1925, allocations: 63.55 kB / 487 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/0.1926, allocations: 27.94 kB / 487.1 MB, free: 11.97 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.0003676/0.193, allocations: 217.7 kB / 487.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.1931, allocations: 31.62 kB / 487.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.1948, allocations: 0.5402 MB / 487.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.1948, allocations: 8 kB / 487.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1949, allocations: 0 / 487.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1949, allocations: 0 / 487.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008153/0.1957, allocations: 465.1 kB / 488.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1957, allocations: 4 kB / 488.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000826/0.1965, allocations: 135.9 kB / 488.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.1966, allocations: 4 kB / 488.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.1966, allocations: 8 kB / 488.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002484/0.1991, allocations: 3.61 MB / 492.1 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1991, allocations: 0 / 492.1 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.2003, allocations: 0.6519 MB / 492.7 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.2005, allocations: 160.7 kB / 492.9 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.118e-05/0.2006, allocations: 15.92 kB / 492.9 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.2008, allocations: 11.94 kB / 492.9 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.2008, allocations: 31.91 kB / 492.9 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.2009, allocations: 15.98 kB / 493 MB, free: 5.836 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003166/0.2012, allocations: 343 kB / 493.3 MB, free: 5.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2012, allocations: 0 / 493.3 MB, free: 5.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005001/0.2017, allocations: 175.5 kB / 493.5 MB, free: 5.332 MB / 366.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.001362/0.2031, allocations: 1.271 MB / 494.7 MB, free: 4.035 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.2042, allocations: 0.4963 MB / 495.2 MB, free: 3.539 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2042, allocations: 0 / 495.2 MB, free: 3.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005971/0.2048, allocations: 255.7 kB / 495.5 MB, free: 3.289 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.2052, allocations: 33.5 kB / 495.5 MB, free: 3.258 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00534/0.2105, allocations: 5.002 MB / 0.4888 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.2109, allocations: 0.9092 MB / 0.4897 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000335/0.2113, allocations: 143 kB / 0.4898 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.2115, allocations: 159.4 kB / 0.49 GB, free: 12.86 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2115, allocations: 0 / 0.49 GB, free: 12.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.168/0.3795, allocations: 11.02 MB / 0.5007 GB, free: 2.055 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.25, allocations: 18.91 kB / 0.5007 GB, free: 2.043 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches