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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000814/0.000814, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008339/0.0008339, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8905/0.8905, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2473/0.2473, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.918e-05, allocations: 2.281 kB / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.1741/0.1741, allocations: 1.805 MB / 444 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1754, allocations: 1.256 MB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.1755, allocations: 2.844 kB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.1757, allocations: 56.62 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.176, allocations: 90.27 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.1763, allocations: 220.2 kB / 445.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.1765, allocations: 422.5 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.1766, allocations: 19.47 kB / 446 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.1768, allocations: 214.3 kB / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.177, allocations: 148.1 kB / 446.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.177, allocations: 10.41 kB / 446.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.1772, allocations: 230.9 kB / 446.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1774, allocations: 137.7 kB / 446.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.923e-05/0.1774, allocations: 118.4 kB / 446.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.1778, allocations: 0.5529 MB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1779, allocations: 0 / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1779, allocations: 0 / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1779, allocations: 0 / 447.4 MB, free: 42.38 MB / 410.7 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.000792/0.1787, allocations: 0.716 MB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1787, allocations: 11.22 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.732e-05/0.1788, allocations: 102.9 kB / 448.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/0.1788, allocations: 57.53 kB / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.1791, allocations: 257.6 kB / 448.6 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.1791, allocations: 41.09 kB / 448.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/0.1792, allocations: 41.86 kB / 448.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005793/0.1797, allocations: 0.6988 MB / 449.4 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1798, allocations: 0 / 449.4 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.1798, allocations: 14.91 kB / 449.4 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-05/0.1798, allocations: 63.91 kB / 449.4 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005775/0.1804, allocations: 0.7218 MB / 450.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.1818, allocations: 1.313 MB / 451.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.1822, allocations: 342.5 kB / 451.8 MB, free: 40.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.1823, allocations: 135.3 kB / 451.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.1823, allocations: 6.484 kB / 451.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.1824, allocations: 45.55 kB / 452 MB, free: 40.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.503e-06/0.1824, allocations: 0 / 452 MB, free: 40.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006041/0.183, allocations: 497.2 kB / 452.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.183, allocations: 55.91 kB / 452.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.1833, allocations: 458.4 kB / 453 MB, free: 39.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1833, allocations: 32.58 kB / 453 MB, free: 39.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.1833, allocations: 264.3 kB / 453.3 MB, free: 39.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.1834, allocations: 104.5 kB / 453.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-05/0.1835, allocations: 82.09 kB / 453.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.1835, allocations: 351.6 kB / 453.8 MB, free: 39.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.1836, allocations: 137.7 kB / 453.9 MB, free: 39.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.1838, allocations: 256.4 kB / 454.2 MB, free: 38.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.1842, allocations: 432.8 kB / 454.6 MB, free: 38.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1842, allocations: 0 / 454.6 MB, free: 38.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004428/0.1846, allocations: 484.9 kB / 455.1 MB, free: 38.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1846, allocations: 9.859 kB / 455.1 MB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1846, allocations: 3.125 kB / 455.1 MB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1847, allocations: 10.38 kB / 455.1 MB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003111/0.185, allocations: 161.3 kB / 455.2 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006669/0.1856, allocations: 3.608 MB / 458.9 MB, free: 34.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.1858, allocations: 64.67 kB / 458.9 MB, free: 34.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.1858, allocations: 23.47 kB / 458.9 MB, free: 34.95 MB / 410.7 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.0001411/0.186, allocations: 221.9 kB / 459.2 MB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.186, allocations: 39.64 kB / 459.2 MB, free: 34.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005679/0.1866, allocations: 0.5421 MB / 459.7 MB, free: 34.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1866, allocations: 3.125 kB / 459.7 MB, free: 34.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1866, allocations: 0 / 459.7 MB, free: 34.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1866, allocations: 0 / 459.7 MB, free: 34.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.1869, allocations: 408.9 kB / 460.1 MB, free: 34.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1869, allocations: 0 / 460.1 MB, free: 34.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.1871, allocations: 145.3 kB / 460.3 MB, free: 34.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1871, allocations: 0 / 460.3 MB, free: 34.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.1872, allocations: 13.66 kB / 460.3 MB, free: 34.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006182/0.1878, allocations: 3.602 MB / 463.9 MB, free: 30.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1878, allocations: 0 / 463.9 MB, free: 30.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.1883, allocations: 0.6595 MB / 464.6 MB, free: 30.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.1884, allocations: 84.72 kB / 464.6 MB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.1885, allocations: 4 kB / 464.6 MB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.862e-05/0.1886, allocations: 13.47 kB / 464.7 MB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.1886, allocations: 29.72 kB / 464.7 MB, free: 30.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.1887, allocations: 24.2 kB / 464.7 MB, free: 30.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002123/0.1889, allocations: 347.3 kB / 465 MB, free: 30.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1889, allocations: 0 / 465 MB, free: 30.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004268/0.1893, allocations: 166.5 kB / 465.2 MB, free: 30.21 MB / 410.7 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.0009202/0.1902, allocations: 1.281 MB / 466.5 MB, free: 29.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005577/0.1908, allocations: 438 kB / 466.9 MB, free: 29.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1908, allocations: 0 / 466.9 MB, free: 29.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.1911, allocations: 260.2 kB / 467.2 MB, free: 29.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.1914, allocations: 37.38 kB / 467.2 MB, free: 29.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.1954, allocations: 4.883 MB / 472.1 MB, free: 26.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.1956, allocations: 303.6 kB / 472.4 MB, free: 26.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001969/0.1958, allocations: 139 kB / 472.5 MB, free: 26.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.196, allocations: 169.3 kB / 472.7 MB, free: 26.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.883e-06/0.196, allocations: 0 / 472.7 MB, free: 26.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.2198, allocations: 12.25 MB / 484.9 MB, free: 24.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/7.955, allocations: 5.312 kB / 484.9 MB, free: 24.73 MB / 410.7 MB " [Timeout remaining time 652] (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 --stepSize=0.0002 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.296549465507269]